Lines Matching refs:context1
64 sk_sp<GrDirectContext> context1 = GrDirectContext::MakeGL(sk_ref_sp(glCtx1->gl())); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
69 if (!context1) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
70 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
76 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
83 context1->flushAndSubmit(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
87 context1.get(), kSize, kSize, kRGBA_8888_SkColorType, GrMipmapped::kNo, 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()
112 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
136 context1->resetContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
147 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
162 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
172 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
214 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()