Lines Matching defs:fGLCtx
83 if (!fGLCtx) {
87 fGLCtx->destroyEGLImage(fImage);
91 GR_GL_CALL(fGLCtx->gl(), DeleteTextures(1, &fTexID));
112 void makeCurrent() override { fGLCtx->makeCurrent(); }
139 sk_gpu_test::GLTestContext* fGLCtx = nullptr;
146 fGLCtx = fGLESContextInfo.glContext();
147 if (!fDirectContext || !fGLCtx) {
151 if (kGLES_GrGLStandard != fGLCtx->gl()->fStandard) {
156 if (!fGLCtx->gl()->hasExtension("EGL_KHR_image") ||
157 !fGLCtx->gl()->hasExtension("EGL_ANDROID_get_native_client_buffer") ||
158 !fGLCtx->gl()->hasExtension("GL_OES_EGL_image_external") ||
159 !fGLCtx->gl()->hasExtension("GL_OES_EGL_image") ||
160 !fGLCtx->gl()->hasExtension("EGL_KHR_fence_sync") ||
161 !fGLCtx->gl()->hasExtension("EGL_ANDROID_native_fence_sync")) {
221 while (fGLCtx->gl()->fFunctions.fGetError() != GR_GL_NO_ERROR) {}
235 GR_GL_CALL(fGLCtx->gl(), GenTextures(1, &fTexID));
240 GR_GL_CALL_NOERRCHECK(fGLCtx->gl(), BindTexture(GR_GL_TEXTURE_2D, fTexID));
241 if (fGLCtx->gl()->fFunctions.fGetError() != GR_GL_NO_ERROR) {
247 if (GrGLenum error = fGLCtx->gl()->fFunctions.fGetError(); error != GR_GL_NO_ERROR) {
322 GR_GL_CALL(fGLCtx->gl(), Flush());