Home
last modified time | relevance | path

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

/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.h166 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/skia/tools/sk_app/win/
DWindow_win.cpp353 fWindowContext = window_context_factory::MakeGLForWin(fHWnd, fRequestedDisplayParams); in attach()
358 fWindowContext = in attach()
364 fWindowContext = in attach()
369 fWindowContext = window_context_factory::MakeGraphiteDawnD3D12ForWin( in attach()
375 fWindowContext = in attach()
380 fWindowContext = in attach()
386 fWindowContext = in attach()
393 return (SkToBool(fWindowContext)); in attach()
407 fWindowContext = nullptr; in setRequestedDisplayParams()
/external/skia/modules/jetski/src/
DSurface.cpp17 , fWindowContext(std::move(wctx)) in WindowSurface()
20 SkASSERT(fWindowContext); in WindowSurface()
22 fSurface = fWindowContext->getBackbufferSurface(); in WindowSurface()
26 fWindowContext.reset(); in release()
39 fWindowContext->swapBuffers(); in flushAndSubmit()
40 fSurface = fWindowContext->getBackbufferSurface(); in flushAndSubmit()
DSurface.h56 std::unique_ptr<SkWindowContext> fWindowContext; variable
/external/skia/tools/sk_app/mac/
DWindow_mac.mm127 fWindowContext = MakeDawnMTLForMac(info, fRequestedDisplayParams);
131 fWindowContext = MakeGraphiteDawnMetalForMac(info, fRequestedDisplayParams);
137 fWindowContext = MakeVulkanForMac(info, fRequestedDisplayParams);
142 fWindowContext = MakeMetalForMac(info, fRequestedDisplayParams);
146 fWindowContext = MakeGraphiteMetalForMac(info, fRequestedDisplayParams);
152 fWindowContext = MakeGLForMac(info, fRequestedDisplayParams);
155 fWindowContext = MakeRasterForMac(info, fRequestedDisplayParams);
163 return SkToBool(fWindowContext);
/external/skia/tools/sk_app/unix/
DWindow_unix.cpp400 fWindowContext = in attach()
406 fWindowContext = in attach()
413 fWindowContext = in attach()
419 fWindowContext = in attach()
424 fWindowContext = in attach()
430 return (SkToBool(fWindowContext)); in attach()
/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));