Home
last modified time | relevance | path

Searched refs:pixels_per_row (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c88 + (addr->height - 1 + (addr->depth - 1) * addr->image_height) * addr->pixels_per_row; in st_pbo_addresses_setup()
98 addr->constants.stride = addr->pixels_per_row; in st_pbo_addresses_setup()
99 addr->constants.image_size = addr->pixels_per_row * addr->image_height; in st_pbo_addresses_setup()
136 unsigned pixels_per_row = store->RowLength > 0 ? in st_pbo_addresses_pixelstore() local
138 unsigned bytes_per_row = pixels_per_row * addr->bytes_per_pixel; in st_pbo_addresses_pixelstore()
148 addr->pixels_per_row = bytes_per_row / addr->bytes_per_pixel; in st_pbo_addresses_pixelstore()
154 buf_offset += store->SkipPixels + addr->pixels_per_row * offset_rows; in st_pbo_addresses_pixelstore()
Dst_pbo.h41 unsigned pixels_per_row; member
Dst_cb_texture.c1870 addr.pixels_per_row = store.TotalBytesPerRow / addr.bytes_per_pixel; in st_CompressedTexSubImage()
/external/mesa3d/src/mesa/main/
Dimage.c123 GLint pixels_per_row; in _mesa_image_offset() local
134 pixels_per_row = packing->RowLength; in _mesa_image_offset()
137 pixels_per_row = width; in _mesa_image_offset()
163 * DIV_ROUND_UP( comp_per_pixel*pixels_per_row, 8*alignment ); in _mesa_image_offset()
181 bytes_per_row = pixels_per_row * bytes_per_pixel; in _mesa_image_offset()