Lines Matching defs:glCtx
174 GLTestContext* glCtx;
177 glCtx = CreatePlatformGLTestContext(kGL_GrGLStandard, glShareContext);
180 glCtx = CreatePlatformGLTestContext(kGLES_GrGLStandard, glShareContext);
184 glCtx = MakeANGLETestContext(ANGLEBackend::kD3D9, ANGLEContextVersion::kES2,
189 if (glCtx) {
190 GrGLDriverInfo info = GrGLGetDriverInfo(glCtx->gl());
192 delete glCtx;
198 glCtx = MakeANGLETestContext(ANGLEBackend::kD3D11, ANGLEContextVersion::kES2,
202 glCtx = MakeANGLETestContext(ANGLEBackend::kD3D11, ANGLEContextVersion::kES3,
206 glCtx = MakeANGLETestContext(ANGLEBackend::kOpenGL, ANGLEContextVersion::kES2,
210 glCtx = MakeANGLETestContext(ANGLEBackend::kOpenGL, ANGLEContextVersion::kES3,
216 glCtx = CommandBufferGLTestContext::Create(2, glShareContext);
219 glCtx = CommandBufferGLTestContext::Create(3, glShareContext);
225 if (!glCtx) {
228 if (glCtx->gl()->fStandard == kGLES_GrGLStandard &&
230 glCtx->overrideVersion("OpenGL ES 2.0", "OpenGL ES GLSL ES 1.00");
232 testCtx.reset(glCtx);