Home
last modified time | relevance | path

Searched refs:fEGLContext (Results 1 – 4 of 4) sorted by relevance

/external/skqp/tools/sk_app/android/
DGLWindowContext_android.cpp34 EGLContext fEGLContext; member in __anon768b15a40111::GLWindowContext_android
47 , fEGLContext(EGL_NO_CONTEXT) in GLWindowContext_android()
96 fEGLContext = eglCreateContext( in onInitializeContext()
98 SkASSERT(EGL_NO_CONTEXT != fEGLContext); in onInitializeContext()
107 SkAssertResult(eglMakeCurrent(fDisplay, fSurfaceAndroid, fSurfaceAndroid, fEGLContext)); in onInitializeContext()
124 if (!fDisplay || !fEGLContext || !fSurfaceAndroid) { in onDestroyContext()
129 SkAssertResult(eglDestroyContext(fDisplay, fEGLContext)); in onDestroyContext()
130 fEGLContext = EGL_NO_CONTEXT; in onDestroyContext()
135 if (fDisplay && fEGLContext && fSurfaceAndroid) { in onSwapBuffers()
/external/skia/tools/sk_app/android/
DGLWindowContext_android.cpp34 EGLContext fEGLContext; member in __anonf719c7ad0111::GLWindowContext_android
47 , fEGLContext(EGL_NO_CONTEXT) in GLWindowContext_android()
96 fEGLContext = eglCreateContext( in onInitializeContext()
98 SkASSERT(EGL_NO_CONTEXT != fEGLContext); in onInitializeContext()
107 SkAssertResult(eglMakeCurrent(fDisplay, fSurfaceAndroid, fSurfaceAndroid, fEGLContext)); in onInitializeContext()
126 if (!fDisplay || !fEGLContext || !fSurfaceAndroid) { in onDestroyContext()
131 SkAssertResult(eglDestroyContext(fDisplay, fEGLContext)); in onDestroyContext()
132 fEGLContext = EGL_NO_CONTEXT; in onDestroyContext()
137 if (fDisplay && fEGLContext && fSurfaceAndroid) { in onSwapBuffers()
/external/skqp/tools/sk_app/win/
DANGLEWindowContext_win.cpp53 EGLContext fEGLContext = EGL_NO_CONTEXT; member in __anonc37780720111::ANGLEGLWindowContext_win
107 fEGLContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); in onInitializeContext()
108 if (EGL_NO_CONTEXT == fEGLContext) { in onInitializeContext()
117 if (!eglMakeCurrent(fDisplay, fEGLSurface, fEGLSurface, fEGLContext)) { in onInitializeContext()
148 if (EGL_NO_CONTEXT != fEGLContext) { in onDestroyContext()
149 eglDestroyContext(fDisplay, fEGLContext); in onDestroyContext()
/external/skia/tools/sk_app/win/
DANGLEWindowContext_win.cpp53 EGLContext fEGLContext = EGL_NO_CONTEXT; member in __anonbc5388db0111::ANGLEGLWindowContext_win
107 fEGLContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); in onInitializeContext()
108 if (EGL_NO_CONTEXT == fEGLContext) { in onInitializeContext()
117 if (!eglMakeCurrent(fDisplay, fEGLSurface, fEGLSurface, fEGLContext)) { in onInitializeContext()
148 if (EGL_NO_CONTEXT != fEGLContext) { in onDestroyContext()
149 eglDestroyContext(fDisplay, fEGLContext); in onDestroyContext()