Home
last modified time | relevance | path

Searched refs:glCtx1 (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/tests/
DEGLImageTest.cpp62 std::unique_ptr<GLTestContext> glCtx1 = glCtx0->makeNew(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
63 if (!glCtx1) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
66 sk_sp<GrContext> context1 = GrContext::MakeGL(sk_ref_sp(glCtx1->gl())); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
73 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
77 if (!glCtx1->gl()->hasExtension("EGL_KHR_image") || in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
78 !glCtx1->gl()->hasExtension("EGL_KHR_gl_texture_2D_image")) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
79 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
95 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
107 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
112 image = glCtx1->texture2DToEGLImage(texInfo.fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
/third_party/skia/tests/
DEGLImageTest.cpp60 std::unique_ptr<GLTestContext> glCtx1 = glCtx0->makeNew(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
61 if (!glCtx1) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
64 sk_sp<GrDirectContext> context1 = GrDirectContext::MakeGL(sk_ref_sp(glCtx1->gl())); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
70 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
74 if (!glCtx1->gl()->hasExtension("EGL_KHR_image") || in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
75 !glCtx1->gl()->hasExtension("EGL_KHR_gl_texture_2D_image")) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
76 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
92 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
104 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
109 image = glCtx1->texture2DToEGLImage(texInfo.fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]