Home
last modified time | relevance | path

Searched refs:fSurfaceAndroid (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/tools/sk_app/android/
DGLWindowContext_android.cpp35 EGLSurface fSurfaceAndroid; member in __anon927680170111::GLWindowContext_android
48 , fSurfaceAndroid(EGL_NO_SURFACE) in GLWindowContext_android()
104 fSurfaceAndroid = eglCreateWindowSurface(fDisplay, surfaceConfig, fNativeWindow, nullptr); in onInitializeContext()
105 SkASSERT(EGL_NO_SURFACE != fSurfaceAndroid); in onInitializeContext()
107 SkAssertResult(eglMakeCurrent(fDisplay, fSurfaceAndroid, fSurfaceAndroid, fEGLContext)); in onInitializeContext()
126 if (!fDisplay || !fEGLContext || !fSurfaceAndroid) { in onDestroyContext()
130 SkAssertResult(eglDestroySurface(fDisplay, fSurfaceAndroid)); in onDestroyContext()
133 fSurfaceAndroid = EGL_NO_SURFACE; in onDestroyContext()
137 if (fDisplay && fEGLContext && fSurfaceAndroid) { in onSwapBuffers()
138 eglSwapBuffers(fDisplay, fSurfaceAndroid); in onSwapBuffers()
/third_party/flutter/skia/tools/sk_app/android/
DGLWindowContext_android.cpp35 EGLSurface fSurfaceAndroid; member in __anone3823ccc0111::GLWindowContext_android
48 , fSurfaceAndroid(EGL_NO_SURFACE) in GLWindowContext_android()
104 fSurfaceAndroid = eglCreateWindowSurface(fDisplay, surfaceConfig, fNativeWindow, nullptr); in onInitializeContext()
105 SkASSERT(EGL_NO_SURFACE != fSurfaceAndroid); in onInitializeContext()
107 SkAssertResult(eglMakeCurrent(fDisplay, fSurfaceAndroid, fSurfaceAndroid, fEGLContext)); in onInitializeContext()
126 if (!fDisplay || !fEGLContext || !fSurfaceAndroid) { in onDestroyContext()
130 SkAssertResult(eglDestroySurface(fDisplay, fSurfaceAndroid)); in onDestroyContext()
133 fSurfaceAndroid = EGL_NO_SURFACE; in onDestroyContext()
137 if (fDisplay && fEGLContext && fSurfaceAndroid) { in onSwapBuffers()
138 eglSwapBuffers(fDisplay, fSurfaceAndroid); in onSwapBuffers()