Lines Matching refs:texels
106 const GrMipLevel* texels, int mipLevelCount, const GrCaps* caps) { in validate_texel_levels() argument
108 bool hasBasePixels = texels[0].fPixels; in validate_texel_levels()
114 if (texels[currentMipLevel].fPixels) { in validate_texel_levels()
117 if (texels[currentMipLevel].fRowBytes < minRowBytes) { in validate_texel_levels()
120 if (texels[currentMipLevel].fRowBytes % bpp) { in validate_texel_levels()
124 if (texels[currentMipLevel].fRowBytes != minRowBytes) { in validate_texel_levels()
229 const GrMipLevel texels[], in createTexture() argument
233 if (!validate_texel_levels(dimensions, srcColorType, texels, texelLevelCount, in createTexture()
244 if (!texels->fPixels) { in createTexture()
259 if (texelLevelCount && texels[0].fPixels) { in createTexture()
261 textureColorType, srcColorType, texels, texelLevelCount)) { in createTexture()
266 markMipLevelsClean = (texelLevelCount > 1 && !levelClearMask && texels[1].fPixels); in createTexture()
493 const GrMipLevel texels[], int mipLevelCount, bool prepForTexSampling) { in writePixels() argument
519 if (!validate_texel_levels({width, height}, srcColorType, texels, mipLevelCount, in writePixels()
526 texels, mipLevelCount, prepForTexSampling)) { in writePixels()