Lines Matching refs:fDisplay
110 void* fDisplay; member in __anoned9682f10111::ANGLEGLContext
179 , fDisplay(display) in ANGLEGLContext()
195 if (EGL_NO_DISPLAY == fDisplay) { in ANGLEGLContext()
233 fDisplay = get_angle_egl_display(fDeviceContext, type); in ANGLEGLContext()
236 SkASSERT(EGL_NO_DISPLAY == fDisplay); in ANGLEGLContext()
237 fDisplay = get_angle_egl_display(EGL_DEFAULT_DISPLAY, type); in ANGLEGLContext()
239 if (EGL_NO_DISPLAY == fDisplay) { in ANGLEGLContext()
253 if (getPlatform(fDisplay, angle::g_PlatformMethodNames, angle::g_NumPlatformMethods, in ANGLEGLContext()
264 if (!eglInitialize(fDisplay, &majorVersion, &minorVersion)) { in ANGLEGLContext()
282 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in ANGLEGLContext()
293 const char* extensions = eglQueryString(fDisplay, EGL_EXTENSIONS); in ANGLEGLContext()
302 fContext = eglCreateContext(fDisplay, surfaceConfig, eglShareContext, contextAttribs.data()); in ANGLEGLContext()
315 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, surfaceAttribs); in ANGLEGLContext()
318 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in ANGLEGLContext()
375 return fCreateImage(fDisplay, fContext, GR_EGL_GL_TEXTURE_2D, clientBuffer, attribs); in texture2DToEGLImage()
378 void ANGLEGLContext::destroyEGLImage(GrEGLImage image) const { fDestroyImage(fDisplay, image); } in destroyEGLImage()
413 sk_gpu_test::MakeANGLETestContext(fType, fVersion, nullptr, fDisplay); in makeNew()
421 if (EGL_NO_DISPLAY != fDisplay) { in destroyGLContext()
424 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
428 eglDestroyContext(fDisplay, fContext); in destroyGLContext()
433 eglDestroySurface(fDisplay, fSurface); in destroyGLContext()
438 fResetPlatform(fDisplay); in destroyGLContext()
441 eglTerminate(fDisplay); in destroyGLContext()
442 fDisplay = EGL_NO_DISPLAY; in destroyGLContext()
459 if (!eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)) { in onPlatformMakeNotCurrent()
465 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in onPlatformMakeCurrent()