Lines Matching refs:fGLCtx
81 if (!fGLCtx) { in releaseImage()
85 fGLCtx->destroyEGLImage(fImage); in releaseImage()
89 GR_GL_CALL(fGLCtx->gl(), DeleteTextures(1, &fTexID)); in releaseImage()
110 void makeCurrent() override { fGLCtx->makeCurrent(); } in makeCurrent()
137 sk_gpu_test::GLTestContext* fGLCtx = nullptr; member in EGLTestHelper
144 fGLCtx = fGLESContextInfo.glContext(); in init()
145 if (!fGrContext || !fGLCtx) { in init()
149 if (kGLES_GrGLStandard != fGLCtx->gl()->fStandard) { in init()
154 if (!fGLCtx->gl()->hasExtension("EGL_KHR_image") || in init()
155 !fGLCtx->gl()->hasExtension("EGL_ANDROID_get_native_client_buffer") || in init()
156 !fGLCtx->gl()->hasExtension("GL_OES_EGL_image_external") || in init()
157 !fGLCtx->gl()->hasExtension("GL_OES_EGL_image") || in init()
158 !fGLCtx->gl()->hasExtension("EGL_KHR_fence_sync")) { in init()
218 GrGLClearErr(fGLCtx->gl()); in importHardwareBuffer()
232 GR_GL_CALL(fGLCtx->gl(), GenTextures(1, &fTexID)); in importHardwareBuffer()
237 GR_GL_CALL_NOERRCHECK(fGLCtx->gl(), BindTexture(GR_GL_TEXTURE_2D, fTexID)); in importHardwareBuffer()
238 if (GR_GL_GET_ERROR(fGLCtx->gl()) != GR_GL_NO_ERROR) { in importHardwareBuffer()
320 GR_GL_CALL(fGLCtx->gl(), Flush()); in flushSurfaceAndSignalSemaphore()
359 sk_gpu_test::FenceSync* fenceSync = fGLCtx->fenceSync(); in doClientSync()