Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c463 util_lower_clearsize_to_dword(const void *clearValue, int *clearValueSize, uint32_t *clamped) in util_lower_clearsize_to_dword() argument
466 if (*clearValueSize > 4) { in util_lower_clearsize_to_dword()
471 for (unsigned i = 1; i < *clearValueSize / 4; i++) { in util_lower_clearsize_to_dword()
479 *clearValueSize = 4; in util_lower_clearsize_to_dword()
485 if (*clearValueSize <= 2) { in util_lower_clearsize_to_dword()
486 if (*clearValueSize == 1) { in util_lower_clearsize_to_dword()
494 *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.c1150 GLsizei clearValueSize) in clear_image_to_zero() argument
1155 memset(dstMap, 0, clearValueSize * width); in clear_image_to_zero()
1164 GLsizei clearValueSize) in clear_image_to_value() argument
1170 memcpy(dstMap, clearValue, clearValueSize); in clear_image_to_value()
1171 dstMap += clearValueSize; in clear_image_to_value()
1173 dstMap += dstRowStride - clearValueSize * width; in clear_image_to_value()
1189 GLsizeiptr clearValueSize; in _mesa_store_cleartexsubimage() local
1192 clearValueSize = _mesa_get_format_bytes(texImage->TexFormat); in _mesa_store_cleartexsubimage()
1209 clearValueSize); in _mesa_store_cleartexsubimage()
1213 clearValueSize); in _mesa_store_cleartexsubimage()
Dbufferobj.c750 GLsizeiptr clearValueSize, in _mesa_ClearBufferSubData_sw() argument
774 for (i = 0; i < size/clearValueSize; ++i) { in _mesa_ClearBufferSubData_sw()
775 memcpy(dest, clearValue, clearValueSize); in _mesa_ClearBufferSubData_sw()
776 dest += clearValueSize; in _mesa_ClearBufferSubData_sw()
2579 GLsizeiptr clearValueSize; in clear_buffer_sub_data() local
2597 clearValueSize = _mesa_get_format_bytes(mesaFormat); in clear_buffer_sub_data()
2599 (offset % clearValueSize != 0 || size % clearValueSize != 0)) { in clear_buffer_sub_data()
2615 NULL, clearValueSize, bufObj); in clear_buffer_sub_data()
2625 clearValue, clearValueSize, bufObj); in clear_buffer_sub_data()
Dbufferobj.h160 GLsizeiptr clearValueSize,
Ddd.h790 GLsizeiptr clearValueSize,
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_bufferobjects.c658 GLsizeiptr clearValueSize, in st_clear_buffer_subdata() argument
667 clearValue, clearValueSize, bufObj); in st_clear_buffer_subdata()
675 clearValue, clearValueSize); in st_clear_buffer_subdata()