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.c916 GLint log2Width, log2Height, texelBytes; in setup_hardware_state() local
926 texelBytes = _mesa_get_format_bytes(firstImage->TexFormat); in setup_hardware_state()
981 t->pp_txpitch = ((firstImage->Width * texelBytes) + 63) & ~(63); in setup_hardware_state()
/external/mesa3d/src/mesa/main/
Dreadpix.c223 int dstStride, stride, j, texelBytes, bytesPerRow; in readpixels_memcpy() local
241 texelBytes = _mesa_get_format_bytes(rb->Format); in readpixels_memcpy()
242 bytesPerRow = texelBytes * width; 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.c1293 GLint log2Width, log2Height, log2Depth, texelBytes; in setup_hardware_state() local
1303 texelBytes = _mesa_get_format_bytes(firstImage->TexFormat); in setup_hardware_state()
1308 log2Depth, texelBytes, firstImage->TexFormat); in setup_hardware_state()
1394 t->pp_txpitch = ((firstImage->Width * texelBytes) + 63) & ~(63); in setup_hardware_state()