Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_texfetch.c75 GLuint texelBytes = _mesa_get_format_bytes(swImage->Base.TexFormat); in fetch_compressed() local
77 assert(swImage->RowStride * bw % texelBytes == 0); in fetch_compressed()
80 swImage->RowStride * bw / texelBytes, in fetch_compressed()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texstate.c910 GLint log2Width, log2Height, texelBytes; in setup_hardware_state() local
920 texelBytes = _mesa_get_format_bytes(firstImage->TexFormat); in setup_hardware_state()
975 t->pp_txpitch = ((firstImage->Width * texelBytes) + 63) & ~(63); in setup_hardware_state()
/external/mesa3d/src/mesa/main/
Dreadpix.c223 int dstStride, stride, j, texelBytes; in readpixels_memcpy() local
241 texelBytes = _mesa_get_format_bytes(rb->Format); in readpixels_memcpy()
245 memcpy(dst, map, width * texelBytes); in readpixels_memcpy()
Dtexstore.c114 const GLuint texelBytes = _mesa_get_format_bytes(dstFormat); in _mesa_memcpy_texture() local
115 const GLint bytesPerRow = srcWidth * texelBytes; in _mesa_memcpy_texture()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_texstate.c1292 GLint log2Width, log2Height, log2Depth, texelBytes; in setup_hardware_state() local
1302 texelBytes = _mesa_get_format_bytes(firstImage->TexFormat); in setup_hardware_state()
1307 log2Depth, texelBytes, firstImage->TexFormat); in setup_hardware_state()
1393 t->pp_txpitch = ((firstImage->Width * texelBytes) + 63) & ~(63); in setup_hardware_state()