Lines Matching refs:texels
54 const GrMipLevel* texels, int mipLevelCount, const GrCaps* caps) { in validate_texel_levels() argument
56 bool hasBasePixels = texels[0].fPixels; in validate_texel_levels()
62 if (texels[currentMipLevel].fPixels) { in validate_texel_levels()
65 if (texels[currentMipLevel].fRowBytes < minRowBytes) { in validate_texel_levels()
68 if (texels[currentMipLevel].fRowBytes % bpp) { in validate_texel_levels()
72 if (texels[currentMipLevel].fRowBytes != minRowBytes) { in validate_texel_levels()
191 const GrMipLevel texels[], in createTexture() argument
195 if (!validate_texel_levels(dimensions, srcColorType, texels, texelLevelCount, in createTexture()
206 if (!texels->fPixels) { in createTexture()
228 if (texelLevelCount && texels[0].fPixels) { in createTexture()
233 texels, in createTexture()
239 markMipLevelsClean = (texelLevelCount > 1 && !levelClearMask && texels[1].fPixels); in createTexture()
448 const GrMipLevel texels[], in writePixels() argument
473 if (!validate_texel_levels(rect.size(), srcColorType, texels, mipLevelCount, this->caps())) { in writePixels()
482 texels, in writePixels()