Home
last modified time | relevance | path

Searched refs:bytes_per_image (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferX11.cpp92 int bytes_per_image = height * bytes_per_line; in FrameBufferX11() local
93 char *buffer = (char*)malloc(bytes_per_image); in FrameBufferX11()
94 memset(buffer, 0, bytes_per_image); in FrameBufferX11()
/third_party/mesa3d/src/mesa/main/
Dimage.c155 GLintptr bytes_per_image; in _mesa_image_offset() local
165 bytes_per_image = bytes_per_row * rows_per_image; in _mesa_image_offset()
167 offset = (skipimages + img) * bytes_per_image in _mesa_image_offset()
173 GLintptr bytes_per_pixel, bytes_per_row, remainder, bytes_per_image; in _mesa_image_offset() local
188 bytes_per_image = bytes_per_row * rows_per_image; in _mesa_image_offset()
200 offset = (skipimages + img) * bytes_per_image in _mesa_image_offset()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_pbo_compute.c341 nir_ssa_def *bytes_per_image = nir_imul(b, bytes_per_row, nir_channel(b, sd->range, 1)); in get_buffer_offset() local
349 nir_imul(b, nir_channel(b, coord, 2), bytes_per_image))); in get_buffer_offset()