Searched refs:fEGLContext (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/tools/sk_app/android/ |
D | GLWindowContext_android.cpp | 34 EGLContext fEGLContext; member in __anon927680170111::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()
|
/third_party/flutter/skia/tools/sk_app/android/ |
D | GLWindowContext_android.cpp | 34 EGLContext fEGLContext; member in __anone3823ccc0111::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()
|
/third_party/skia/tools/sk_app/win/ |
D | ANGLEWindowContext_win.cpp | 53 EGLContext fEGLContext = EGL_NO_CONTEXT; member in __anond576d7050111::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()
|
/third_party/flutter/skia/tools/sk_app/win/ |
D | ANGLEWindowContext_win.cpp | 53 EGLContext fEGLContext = EGL_NO_CONTEXT; member in __anonc4e78e9a0111::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()
|