Home
last modified time | relevance | path

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

/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 __anoncd3f03bb0111::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 __anon17918e7d0111::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/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 __anon7a7992440111::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 __anon982040860111::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