Lines Matching refs:backendTex

104         GrBackendTexture backendTex = gpu->createTestingOnlyBackendTexture(  in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()  local
106 surf = SkSurface::MakeFromBackendTexture(ctxInfo.grContext(), backendTex, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
112 surf = SkSurface::MakeFromBackendTextureAsRenderTarget(ctxInfo.grContext(), backendTex, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
120 if (backendTex.isValid()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
121 gpu->deleteTestingOnlyBackendTexture(backendTex); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
132 backendTex = gpu->createTestingOnlyBackendTexture(nullptr, kSize, kSize, colorType, true, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
134 surf = SkSurface::MakeFromBackendTexture(ctxInfo.grContext(), backendTex, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
151 surf = SkSurface::MakeFromBackendTextureAsRenderTarget(ctxInfo.grContext(), backendTex, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
169 if (backendTex.isValid()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
170 gpu->deleteTestingOnlyBackendTexture(backendTex); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
199 GrBackendTexture backendTex = gpu->createTestingOnlyBackendTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
201 if (!backendTex.isValid()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
204 SkScopeExit freeTex([&backendTex, gpu] {gpu->deleteTestingOnlyBackendTexture(backendTex);}); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
206 auto surf = SkSurface::MakeFromBackendTexture(ctxInfo.grContext(), backendTex, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
519 GrBackendTexture backendTex = image->getBackendTexture(false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
520 REPORTER_ASSERT(reporter, backendTex.isValid()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
524 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(backendTex, backendTex2)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
798 GrBackendTexture backendTex; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
799 auto surface = surfaceFunc(context, 1, kOrigColor, &backendTex); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
802 gpu->deleteTestingOnlyBackendTexture(backendTex); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
861 GrBackendTexture backendTex; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
862 auto surface = surfaceFunc(ctxInfo.grContext(), 1, kOrigColor, &backendTex); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
866 gpu->deleteTestingOnlyBackendTexture(backendTex); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
889 GrBackendTexture backendTex; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
897 backendTex = gpu->createTestingOnlyBackendTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
899 if (!backendTex.isValid()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
903 surface = SkSurface::MakeFromBackendTexture(ctx, backendTex, texOrigin, 1, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
935 gpu->deleteTestingOnlyBackendTexture(backendTex); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
957 GrBackendTexture backendTex; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
958 auto surface = surfaceFunc(ctxInfo.grContext(), sampleCnt, kOrigColor, &backendTex); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
970 gpu->deleteTestingOnlyBackendTexture(backendTex); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()