Searched refs:glCtx1 (Results 1 – 1 of 1) sorted by relevance
/external/skia/tests/ |
D | EGLImageTest.cpp | 94 SkAutoTDelete<SkGLContext> glCtx1 = glCtx0->createNew(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 95 if (!glCtx1) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 98 GrContext* context1 = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext)glCtx1->gl()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 105 cleanup(glCtx0, externalTexture.fID, glCtx1, context1, backendTexture1, image); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 109 if (!glCtx1->gl()->hasExtension("EGL_KHR_image") || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 110 !glCtx1->gl()->hasExtension("EGL_KHR_gl_texture_2D_image")) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 111 cleanup(glCtx0, externalTexture.fID, glCtx1, context1, backendTexture1, image); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 125 cleanup(glCtx0, externalTexture.fID, glCtx1, context1, backendTexture1, image); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 130 cleanup(glCtx0, externalTexture.fID, glCtx1, context1, backendTexture1, image); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 135 image = glCtx1->texture2DToEGLImage(backendTexture1->fID); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|