Lines Matching defs:texDesc
1368 GrGLTexture::Desc texDesc;
1369 texDesc.fSize = dimensions;
1375 texDesc.fTarget = GR_GL_TEXTURE_2D;
1381 texDesc.fTarget = GR_GL_TEXTURE_RECTANGLE;
1384 texDesc.fFormat = format.asGLFormat();
1385 texDesc.fOwnership = GrBackendObjectOwnership::kOwned;
1386 SkASSERT(texDesc.fFormat != GrGLFormat::kUnknown);
1387 SkASSERT(!GrGLFormatIsCompressed(texDesc.fFormat));
1389 texDesc.fID = this->createTexture(dimensions, texDesc.fFormat, texDesc.fTarget, renderable,
1392 if (!texDesc.fID) {
1399 GL_CALL(BindTexture(texDesc.fTarget, 0));
1402 if (!this->createRenderTargetObjects(texDesc, renderTargetSampleCnt, &rtIDDesc)) {
1403 GL_CALL(DeleteTextures(1, &texDesc.fID));
1407 this, budgeted, renderTargetSampleCnt, texDesc, rtIDDesc, mipmapStatus);
1410 tex = sk_make_sp<GrGLTexture>(this, budgeted, texDesc, mipmapStatus);
1420 texDesc.fFormat, &externalFormat, &externalType, &colorType);
1443 this->bindTextureToScratchUnit(texDesc.fTarget, tex->textureID());
1445 this->uploadColorToTex(texDesc.fFormat,
1446 texDesc.fSize,
1447 texDesc.fTarget,