Home
last modified time | relevance | path

Searched refs:fWindowContext (Results 1 – 15 of 15) sorted by relevance

/external/skqp/tools/sk_app/
DWindow.cpp19 delete fWindowContext; in detach()
20 fWindowContext = nullptr; in detach()
69 if (!fWindowContext) { in onPaint()
73 sk_sp<SkSurface> backbuffer = fWindowContext->getBackbufferSurface(); in onPaint()
83 fWindowContext->swapBuffers(); in onPaint()
91 if (!fWindowContext) { in onResize()
94 fWindowContext->resize(w, h); in onResize()
99 if (!fWindowContext) { in width()
102 return fWindowContext->width(); in width()
106 if (!fWindowContext) { in height()
[all …]
DWindow.h194 WindowContext* fWindowContext = nullptr; variable
/external/skia/tools/sk_app/
DWindow.cpp20 void Window::detach() { fWindowContext = nullptr; } in detach()
76 if (!fWindowContext) { in onPaint()
82 sk_sp<SkSurface> backbuffer = fWindowContext->getBackbufferSurface(); in onPaint()
97 fWindowContext->swapBuffers(); in onPaint()
101 if (!fWindowContext) { in onResize()
104 fWindowContext->resize(w, h); in onResize()
109 if (fWindowContext) { in onActivate()
110 fWindowContext->activate(isActive); in onActivate()
116 if (!fWindowContext) { in width()
119 return fWindowContext->width(); in width()
[all …]
DWindow.h155 std::unique_ptr<WindowContext> fWindowContext; variable
/external/skia/tools/sk_app/android/
DWindow_android.cpp53 fWindowContext = in initDisplay()
60 fWindowContext = in initDisplay()
65 fWindowContext = in initDisplay()
82 if (fWindowContext) { // Check if initDisplay has already been called in paintIfNeeded()
/external/skqp/tools/sk_app/android/
DWindow_android.cpp52 fWindowContext = window_context_factory::NewGLForAndroid(window, in initDisplay()
56 fWindowContext = window_context_factory::NewRasterForAndroid(window, in initDisplay()
61 fWindowContext = window_context_factory::NewVulkanForAndroid(window, in initDisplay()
78 if (fWindowContext) { // Check if initDisplay has already been called in paintIfNeeded()
/external/skia/modules/androidkit/src/
DSurface.cpp52 , fWindowContext(std::move(wctx)) in WindowSurface()
55 SkASSERT(fWindowContext); in WindowSurface()
57 fSurface = fWindowContext->getBackbufferSurface(); in WindowSurface()
62 fWindowContext.reset(); in release()
75 fWindowContext->swapBuffers(); in flushAndSubmit()
76 fSurface = fWindowContext->getBackbufferSurface(); in flushAndSubmit()
80 std::unique_ptr<sk_app::WindowContext> fWindowContext; member in __anon7b05eb190111::WindowSurface
/external/skia/tools/sk_app/win/
DWindow_win.cpp356 fWindowContext = window_context_factory::MakeGLForWin(fHWnd, fRequestedDisplayParams); in attach()
361 fWindowContext = in attach()
367 fWindowContext = in attach()
372 fWindowContext = in attach()
377 fWindowContext = in attach()
383 fWindowContext = in attach()
390 return (SkToBool(fWindowContext)); in attach()
404 fWindowContext = nullptr; in setRequestedDisplayParams()
/external/skqp/tools/sk_app/win/
DWindow_win.cpp352 fWindowContext = window_context_factory::NewGLForWin(fHWnd, fRequestedDisplayParams); in attach()
356 fWindowContext = window_context_factory::NewANGLEForWin(fHWnd, fRequestedDisplayParams); in attach()
360 fWindowContext = window_context_factory::NewRasterForWin(fHWnd, in attach()
365 fWindowContext = window_context_factory::NewVulkanForWin(fHWnd, in attach()
372 return (SkToBool(fWindowContext)); in attach()
386 delete fWindowContext; in setRequestedDisplayParams()
/external/skia/tools/sk_app/ios/
DWindow_ios.mm89 fWindowContext = MakeMetalForIOS(info, fRequestedDisplayParams);
94 fWindowContext = MakeGLForIOS(info, fRequestedDisplayParams);
97 fWindowContext = MakeRasterForIOS(info, fRequestedDisplayParams);
105 return (SkToBool(fWindowContext));
/external/skia/tools/sk_app/unix/
DWindow_unix.cpp404 fWindowContext = in attach()
410 fWindowContext = in attach()
416 fWindowContext = in attach()
421 fWindowContext = in attach()
427 return (SkToBool(fWindowContext)); in attach()
/external/skqp/tools/sk_app/unix/
DWindow_unix.cpp355 fWindowContext = window_context_factory::NewVulkanForXlib(winInfo, in attach()
360 fWindowContext = window_context_factory::NewGLForXlib(winInfo, fRequestedDisplayParams); in attach()
363 fWindowContext = window_context_factory::NewRasterForXlib(winInfo, in attach()
369 return (SkToBool(fWindowContext)); in attach()
/external/skqp/tools/sk_app/ios/
DWindow_ios.cpp264 fWindowContext = NewRasterForIOS(info, fRequestedDisplayParams); in attach()
269 fWindowContext = NewGLForIOS(info, fRequestedDisplayParams); in attach()
274 return (SkToBool(fWindowContext)); in attach()
/external/skia/tools/sk_app/mac/
DWindow_mac.mm127 fWindowContext = MakeDawnMTLForMac(info, fRequestedDisplayParams);
132 fWindowContext = MakeVulkanForMac(info, fRequestedDisplayParams);
137 fWindowContext = MakeMetalForMac(info, fRequestedDisplayParams);
142 fWindowContext = MakeGLForMac(info, fRequestedDisplayParams);
145 fWindowContext = MakeRasterForMac(info, fRequestedDisplayParams);
153 return SkToBool(fWindowContext);
/external/skqp/tools/sk_app/mac/
DWindow_mac.mm106 fWindowContext = NewRasterForMac(info, fRequestedDisplayParams);
111 fWindowContext = NewGLForMac(info, fRequestedDisplayParams);
116 return (SkToBool(fWindowContext));