Lines Matching refs:surfDesc

691     GrSurfaceDesc surfDesc;  in onWrapBackendTexture()  local
692 surfDesc.fFlags = kNone_GrSurfaceFlags; in onWrapBackendTexture()
693 surfDesc.fWidth = backendTex.width(); in onWrapBackendTexture()
694 surfDesc.fHeight = backendTex.height(); in onWrapBackendTexture()
695 surfDesc.fConfig = backendTex.config(); in onWrapBackendTexture()
696 surfDesc.fSampleCnt = 1; in onWrapBackendTexture()
702 GrGLTexture::MakeWrapped(this, surfDesc, mipMapsStatus, idDesc, cacheable, ioType); in onWrapBackendTexture()
731 GrSurfaceDesc surfDesc; in onWrapRenderableBackendTexture() local
732 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in onWrapRenderableBackendTexture()
733 surfDesc.fWidth = backendTex.width(); in onWrapRenderableBackendTexture()
734 surfDesc.fHeight = backendTex.height(); in onWrapRenderableBackendTexture()
735 surfDesc.fConfig = backendTex.config(); in onWrapRenderableBackendTexture()
736 surfDesc.fSampleCnt = this->caps()->getRenderTargetSampleCount(sampleCnt, backendTex.config()); in onWrapRenderableBackendTexture()
737 if (surfDesc.fSampleCnt < 1) { in onWrapRenderableBackendTexture()
742 if (!this->createRenderTargetObjects(surfDesc, idDesc.fInfo, &rtIDDesc)) { in onWrapRenderableBackendTexture()
750 this, surfDesc, idDesc, rtIDDesc, cacheable, mipMapsStatus)); in onWrapRenderableBackendTexture()
796 GrSurfaceDesc surfDesc; in onWrapBackendTextureAsRenderTarget() local
797 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in onWrapBackendTextureAsRenderTarget()
798 surfDesc.fWidth = tex.width(); in onWrapBackendTextureAsRenderTarget()
799 surfDesc.fHeight = tex.height(); in onWrapBackendTextureAsRenderTarget()
800 surfDesc.fConfig = tex.config(); in onWrapBackendTextureAsRenderTarget()
801 surfDesc.fSampleCnt = this->caps()->getRenderTargetSampleCount(sampleCnt, tex.config()); in onWrapBackendTextureAsRenderTarget()
804 if (!this->createRenderTargetObjects(surfDesc, info, &rtIDDesc)) { in onWrapBackendTextureAsRenderTarget()
807 return GrGLRenderTarget::MakeWrapped(this, surfDesc, info.fFormat, rtIDDesc, 0); in onWrapBackendTextureAsRenderTarget()