Searched refs:texelSize (Results 1 – 2 of 2) sorted by relevance
217 GLint stride, texelSize; in _swrast_map_teximage() local231 texelSize = _mesa_get_format_bytes(texImage->TexFormat); in _swrast_map_teximage()247 map += stride * (y / bh) + texelSize * (x / bw); in _swrast_map_teximage()
1501 const int texelSize = src.getFormat().getPixelSize(); in copyRegionToTextureLevel() local1504 const int texelOffset = (int) region.bufferImageCopy.bufferOffset / texelSize; in copyRegionToTextureLevel()1694 const int texelSize = dst.getFormat().getPixelSize(); in copyRegionToTextureLevel() local1697 const int texelOffset = (int) region.bufferImageCopy.bufferOffset / texelSize; in copyRegionToTextureLevel()