Home
last modified time | relevance | path

Searched refs:fNativeWindow (Results 1 – 10 of 10) sorted by relevance

/external/skia/tools/sk_app/android/
Dsurface_glue_android.cpp77 fNativeWindow = nullptr; in SkiaAndroidApp()
86 if (fNativeWindow) { in ~SkiaAndroidApp()
87 ANativeWindow_release(fNativeWindow); in ~SkiaAndroidApp()
88 fNativeWindow = nullptr; in ~SkiaAndroidApp()
134 SkASSERT(!skiaAndroidApp->fNativeWindow && message.fNativeWindow); in message_callback()
135 skiaAndroidApp->fNativeWindow = message.fNativeWindow; in message_callback()
137 window_android->initDisplay(skiaAndroidApp->fNativeWindow); in message_callback()
142 SkASSERT(message.fNativeWindow); in message_callback()
143 int width = ANativeWindow_getWidth(skiaAndroidApp->fNativeWindow); in message_callback()
144 int height = ANativeWindow_getHeight(skiaAndroidApp->fNativeWindow); in message_callback()
[all …]
DRasterWindowContext_android.cpp25 bool isValid() override { return SkToBool(fNativeWindow); } in isValid()
32 ANativeWindow* fNativeWindow = nullptr; member in __anon3ba054eb0111::RasterWindowContext_android
42 fNativeWindow = window; in RasterWindowContext_android()
43 fWidth = ANativeWindow_getWidth(fNativeWindow); in RasterWindowContext_android()
44 fHeight = ANativeWindow_getHeight(fNativeWindow); in RasterWindowContext_android()
60 ANativeWindow_setBuffersGeometry(fNativeWindow, fWidth, fHeight, format); in setBuffersGeometry()
76 ANativeWindow_lock(fNativeWindow, &fBuffer, &fBounds); in getBackbufferSurface()
90 ANativeWindow_unlockAndPost(fNativeWindow); in swapBuffers()
DGLWindowContext_android.cpp38 ANativeWindow* fNativeWindow = nullptr; member in __anonf719c7ad0111::GLWindowContext_android
49 , fNativeWindow(window) { in GLWindowContext_android()
61 fWidth = ANativeWindow_getWidth(fNativeWindow); in onInitializeContext()
62 fHeight = ANativeWindow_getHeight(fNativeWindow); in onInitializeContext()
104 fSurfaceAndroid = eglCreateWindowSurface(fDisplay, surfaceConfig, fNativeWindow, nullptr); in onInitializeContext()
Dsurface_glue_android.h36 ANativeWindow* fNativeWindow = nullptr; member
64 ANativeWindow* fNativeWindow; member
/external/skqp/tools/sk_app/android/
Dsurface_glue_android.cpp77 fNativeWindow = nullptr; in SkiaAndroidApp()
86 if (fNativeWindow) { in ~SkiaAndroidApp()
87 ANativeWindow_release(fNativeWindow); in ~SkiaAndroidApp()
88 fNativeWindow = nullptr; in ~SkiaAndroidApp()
134 SkASSERT(!skiaAndroidApp->fNativeWindow && message.fNativeWindow); in message_callback()
135 skiaAndroidApp->fNativeWindow = message.fNativeWindow; in message_callback()
137 window_android->initDisplay(skiaAndroidApp->fNativeWindow); in message_callback()
142 SkASSERT(message.fNativeWindow); in message_callback()
143 int width = ANativeWindow_getWidth(skiaAndroidApp->fNativeWindow); in message_callback()
144 int height = ANativeWindow_getHeight(skiaAndroidApp->fNativeWindow); in message_callback()
[all …]
DRasterWindowContext_android.cpp25 bool isValid() override { return SkToBool(fNativeWindow); } in isValid()
32 ANativeWindow* fNativeWindow = nullptr; member in __anon8e65c6620111::RasterWindowContext_android
42 fNativeWindow = window; in RasterWindowContext_android()
43 fWidth = ANativeWindow_getWidth(fNativeWindow); in RasterWindowContext_android()
44 fHeight = ANativeWindow_getHeight(fNativeWindow); in RasterWindowContext_android()
60 ANativeWindow_setBuffersGeometry(fNativeWindow, fWidth, fHeight, format); in setBuffersGeometry()
76 ANativeWindow_lock(fNativeWindow, &fBuffer, &fBounds); in getBackbufferSurface()
90 ANativeWindow_unlockAndPost(fNativeWindow); in swapBuffers()
DGLWindowContext_android.cpp38 ANativeWindow* fNativeWindow = nullptr; member in __anon768b15a40111::GLWindowContext_android
49 , fNativeWindow(window) { in GLWindowContext_android()
61 fWidth = ANativeWindow_getWidth(fNativeWindow); in onInitializeContext()
62 fHeight = ANativeWindow_getHeight(fNativeWindow); in onInitializeContext()
104 fSurfaceAndroid = eglCreateWindowSurface(fDisplay, surfaceConfig, fNativeWindow, nullptr); in onInitializeContext()
Dsurface_glue_android.h36 ANativeWindow* fNativeWindow = nullptr; member
64 ANativeWindow* fNativeWindow; member
/external/skia/modules/androidkit/src/
DSurfaceThread.h23 ANativeWindow* fNativeWindow = nullptr; member
DSurface.cpp163 message.fNativeWindow = fWindow; in ThreadedSurface()
182 message.fNativeWindow = fWindow; in flushAndSubmit()