• Home
  • Raw
  • Download

Lines Matching refs:fDisplay

33     EGLDisplay fDisplay;  member in __anonf719c7ad0111::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()
120 eglSwapInterval(fDisplay, fDisplayParams.fDisableVsync ? 0 : 1); in onInitializeContext()
126 if (!fDisplay || !fEGLContext || !fSurfaceAndroid) { in onDestroyContext()
129 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
130 SkAssertResult(eglDestroySurface(fDisplay, fSurfaceAndroid)); in onDestroyContext()
131 SkAssertResult(eglDestroyContext(fDisplay, fEGLContext)); in onDestroyContext()
137 if (fDisplay && fEGLContext && fSurfaceAndroid) { in onSwapBuffers()
138 eglSwapBuffers(fDisplay, fSurfaceAndroid); in onSwapBuffers()