Home
last modified time | relevance | path

Searched refs:clearValueSize (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c464 util_lower_clearsize_to_dword(const void *clearValue, int *clearValueSize, uint32_t *clamped) in util_lower_clearsize_to_dword() argument
467 if (*clearValueSize > 4) { in util_lower_clearsize_to_dword()
472 for (unsigned i = 1; i < *clearValueSize / 4; i++) { in util_lower_clearsize_to_dword()
480 *clearValueSize = 4; in util_lower_clearsize_to_dword()
486 if (*clearValueSize <= 2) { in util_lower_clearsize_to_dword()
487 if (*clearValueSize == 1) { in util_lower_clearsize_to_dword()
495 *clearValueSize = 4; in util_lower_clearsize_to_dword()
Du_helpers.h122 util_lower_clearsize_to_dword(const void *clearValue, int *clearValueSize, uint32_t *clamped);
/third_party/mesa3d/src/mesa/main/
Dtexstore.c1153 GLsizei clearValueSize) in clear_image_to_zero() argument
1158 memset(dstMap, 0, clearValueSize * width); in clear_image_to_zero()
1167 GLsizei clearValueSize) in clear_image_to_value() argument
1173 memcpy(dstMap, clearValue, clearValueSize); in clear_image_to_value()
1174 dstMap += clearValueSize; in clear_image_to_value()
1176 dstMap += dstRowStride - clearValueSize * width; in clear_image_to_value()
1192 GLsizeiptr clearValueSize; in _mesa_store_cleartexsubimage() local
1195 clearValueSize = _mesa_get_format_bytes(texImage->TexFormat); in _mesa_store_cleartexsubimage()
1212 clearValueSize); in _mesa_store_cleartexsubimage()
1216 clearValueSize); in _mesa_store_cleartexsubimage()
Dbufferobj.h221 GLsizeiptr clearValueSize,
Dbufferobj.c591 GLsizeiptr clearValueSize, in clear_buffer_subdata_sw() argument
614 for (i = 0; i < size/clearValueSize; ++i) { in clear_buffer_subdata_sw()
615 memcpy(dest, clearValue, clearValueSize); in clear_buffer_subdata_sw()
616 dest += clearValueSize; in clear_buffer_subdata_sw()
2816 GLsizeiptr clearValueSize; in clear_buffer_sub_data() local
2834 clearValueSize = _mesa_get_format_bytes(mesaFormat); in clear_buffer_sub_data()
2836 (offset % clearValueSize != 0 || size % clearValueSize != 0)) { in clear_buffer_sub_data()
2851 data, clearValueSize, bufObj); in clear_buffer_sub_data()
2863 clearValue, clearValueSize); in clear_buffer_sub_data()