Lines Matching refs:fFormat
625 if (!backendTex.getGLTextureInfo(&info) || !info.fID || !info.fFormat) {
632 desc->fFormat = GrGLFormatFromGLEnum(info.fFormat);
634 if (desc->fFormat == GrGLFormat::kUnknown) {
687 if (!backendTex.getGLTextureInfo(&info) || !info.fID || !info.fFormat) {
694 desc->fFormat = GrGLFormatFromGLEnum(info.fFormat);
696 if (desc->fFormat == GrGLFormat::kUnknown) {
744 SkASSERT(caps.isFormatRenderable(desc.fFormat, sampleCnt));
745 SkASSERT(caps.isFormatTexturable(desc.fFormat));
759 sampleCnt = caps.getRenderTargetSampleCount(sampleCnt, desc.fFormat);
1214 if (desc.fFormat == GrGLFormat::kUnknown) {
1245 colorRenderbufferFormat = this->glCaps().getRenderbufferInternalFormat(desc.fFormat);
1384 texDesc.fFormat = format.asGLFormat();
1386 SkASSERT(texDesc.fFormat != GrGLFormat::kUnknown);
1387 SkASSERT(!GrGLFormatIsCompressed(texDesc.fFormat));
1389 texDesc.fID = this->createTexture(dimensions, texDesc.fFormat, texDesc.fTarget, renderable,
1420 texDesc.fFormat, &externalFormat, &externalType, &colorType);
1445 this->uploadColorToTex(texDesc.fFormat,
1472 desc.fFormat = format.asGLFormat();
1473 desc.fID = this->createCompressedTexture2D(desc.fSize, compression, desc.fFormat,
1480 if (!this->uploadCompressedTexData(compression, desc.fFormat, dimensions, mipMapped,
1533 info.fFormat = GrGLFormatToEnum(glFormat);
3663 info.fFormat = GrGLFormatToEnum(glFormat);
3696 GrGLFormat glFormat = GrGLFormatFromGLEnum(info.fFormat);
3807 info.fFormat = GrGLFormatToEnum(format);