Lines Matching refs:texDesc
1306 GrGLTexture::Desc texDesc; in onCreateTexture() local
1307 texDesc.fSize = dimensions; in onCreateTexture()
1313 texDesc.fTarget = GR_GL_TEXTURE_2D; in onCreateTexture()
1319 texDesc.fTarget = GR_GL_TEXTURE_RECTANGLE; in onCreateTexture()
1322 texDesc.fFormat = format.asGLFormat(); in onCreateTexture()
1323 texDesc.fOwnership = GrBackendObjectOwnership::kOwned; in onCreateTexture()
1324 SkASSERT(texDesc.fFormat != GrGLFormat::kUnknown); in onCreateTexture()
1325 SkASSERT(!GrGLFormatIsCompressed(texDesc.fFormat)); in onCreateTexture()
1327 texDesc.fID = this->createTexture(dimensions, texDesc.fFormat, texDesc.fTarget, renderable, in onCreateTexture()
1330 if (!texDesc.fID) { in onCreateTexture()
1337 GL_CALL(BindTexture(texDesc.fTarget, 0)); in onCreateTexture()
1340 if (!this->createRenderTargetObjects(texDesc, renderTargetSampleCnt, &rtIDDesc)) { in onCreateTexture()
1341 GL_CALL(DeleteTextures(1, &texDesc.fID)); in onCreateTexture()
1345 this, budgeted, renderTargetSampleCnt, texDesc, rtIDDesc, mipmapStatus); in onCreateTexture()
1348 tex = sk_make_sp<GrGLTexture>(this, budgeted, texDesc, mipmapStatus); in onCreateTexture()
1358 texDesc.fFormat, &externalFormat, &externalType, &colorType); in onCreateTexture()
1381 this->bindTextureToScratchUnit(texDesc.fTarget, tex->textureID()); in onCreateTexture()
1383 this->uploadColorToTex(texDesc.fFormat, in onCreateTexture()
1384 texDesc.fSize, in onCreateTexture()
1385 texDesc.fTarget, in onCreateTexture()