Searched refs:texelSize (Results 1 – 2 of 2) sorted by relevance
194 GLint stride, texelSize; in _swrast_map_teximage() local199 texelSize = _mesa_get_format_bytes(texImage->TexFormat); in _swrast_map_teximage()232 map += stride * (y / bh) + texelSize * (x / bw); in _swrast_map_teximage()
1206 const int texelSize = src.getFormat().getPixelSize(); in copyRegionToTextureLevel() local1209 const int texelOffset = (int) region.bufferImageCopy.bufferOffset / texelSize; in copyRegionToTextureLevel()1415 const int texelSize = dst.getFormat().getPixelSize(); in copyRegionToTextureLevel() local1418 const int texelOffset = (int) region.bufferImageCopy.bufferOffset / texelSize; in copyRegionToTextureLevel()