Lines Matching refs:fDisplay
33 EGLDisplay fDisplay; member in __anon590a70480111::GLWindowContext_android
46 , fDisplay(EGL_NO_DISPLAY) in GLWindowContext_android()
64 fDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in onInitializeContext()
68 eglInitialize(fDisplay, &majorVersion, &minorVersion); in onInitializeContext()
89 SkAssertResult(eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)); in onInitializeContext()
97 fDisplay, surfaceConfig, nullptr, kEGLContextAttribsForOpenGLES); in onInitializeContext()
104 fSurfaceAndroid = eglCreateWindowSurface(fDisplay, surfaceConfig, fNativeWindow, nullptr); in onInitializeContext()
107 SkAssertResult(eglMakeCurrent(fDisplay, fSurfaceAndroid, fSurfaceAndroid, fEGLContext)); in onInitializeContext()
116 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_STENCIL_SIZE, &fStencilBits); in onInitializeContext()
117 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_SAMPLES, &fSampleCount); in onInitializeContext()
124 if (!fDisplay || !fEGLContext || !fSurfaceAndroid) { in onDestroyContext()
127 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
128 SkAssertResult(eglDestroySurface(fDisplay, fSurfaceAndroid)); in onDestroyContext()
129 SkAssertResult(eglDestroyContext(fDisplay, fEGLContext)); in onDestroyContext()
135 if (fDisplay && fEGLContext && fSurfaceAndroid) { in onSwapBuffers()
136 eglSwapBuffers(fDisplay, fSurfaceAndroid); in onSwapBuffers()