Home
last modified time | relevance | path

Searched refs:left_bytes (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.c251 uint32_t left_bytes, base_hdr_size, strm_hdr_size, thispass; in virgl_encode_shader_state() local
276 left_bytes = shader_len; in virgl_encode_shader_state()
282 while (left_bytes) { in virgl_encode_shader_state()
290 length = MIN2(thispass, left_bytes); in virgl_encode_shader_state()
306 left_bytes -= length; in virgl_encode_shader_state()
500 uint32_t length, thispass, left_bytes; in virgl_encoder_inline_write() local
511 left_bytes = size; in virgl_encoder_inline_write()
512 while (left_bytes) { in virgl_encoder_inline_write()
518 length = MIN2(thispass, left_bytes); in virgl_encoder_inline_write()
524 left_bytes -= length; in virgl_encoder_inline_write()
/external/virglrenderer/tests/
Dtestvirgl_encode.c243 uint32_t left_bytes, base_hdr_size, strm_hdr_size, thispass; in virgl_encode_shader_state() local
265 left_bytes = shader_len; in virgl_encode_shader_state()
271 while (left_bytes) { in virgl_encode_shader_state()
279 length = MIN2(thispass, left_bytes); in virgl_encode_shader_state()
295 left_bytes -= length; in virgl_encode_shader_state()
497 uint32_t length, thispass, left_bytes; in virgl_encoder_inline_write() local
543 left_bytes = box->width * elsize; in virgl_encoder_inline_write()
544 while (left_bytes) { in virgl_encoder_inline_write()
550 length = MIN2(thispass, left_bytes); in virgl_encoder_inline_write()
555 left_bytes -= length; in virgl_encoder_inline_write()