Lines Matching refs:texels
102 static bool validate_levels(int w, int h, const GrMipLevel texels[], int mipLevelCount, int bpp, in validate_levels() argument
105 bool hasBasePixels = texels[0].fPixels; in validate_levels()
108 if (texels[currentMipLevel].fPixels) { in validate_levels()
111 if (texels[currentMipLevel].fRowBytes < minRowBytes) { in validate_levels()
114 if (texels[currentMipLevel].fRowBytes % bpp) { in validate_levels()
118 if (texels[currentMipLevel].fRowBytes != minRowBytes) { in validate_levels()
153 const GrMipLevel texels[], in createTexture() argument
177 if (!validate_levels(desc.fWidth, desc.fHeight, texels, mipLevelCount, bpp, this->caps(), in createTexture()
192 texels, in createTexture()
200 if (texels[0].fPixels) { in createTexture()
398 const GrMipLevel texels[], int mipLevelCount) { in writePixels() argument
423 if (!validate_levels(width, height, texels, mipLevelCount, bpp, this->caps())) { in writePixels()
429 texels, mipLevelCount)) { in writePixels()