/external/skqp/tools/sk_app/ |
D | Window.cpp | 19 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 …]
|
D | Window.h | 194 WindowContext* fWindowContext = nullptr; variable
|
/external/skia/tools/sk_app/ |
D | Window.cpp | 20 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 …]
|
D | Window.h | 155 std::unique_ptr<WindowContext> fWindowContext; variable
|
/external/skia/tools/sk_app/android/ |
D | Window_android.cpp | 53 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/ |
D | Window_android.cpp | 52 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/ |
D | Surface.cpp | 52 , 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/ |
D | Window_win.cpp | 356 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/ |
D | Window_win.cpp | 352 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/ |
D | Window_ios.mm | 89 fWindowContext = MakeMetalForIOS(info, fRequestedDisplayParams); 94 fWindowContext = MakeGLForIOS(info, fRequestedDisplayParams); 97 fWindowContext = MakeRasterForIOS(info, fRequestedDisplayParams); 105 return (SkToBool(fWindowContext));
|
/external/skia/tools/sk_app/unix/ |
D | Window_unix.cpp | 404 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/ |
D | Window_unix.cpp | 355 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/ |
D | Window_ios.cpp | 264 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/ |
D | Window_mac.mm | 127 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/ |
D | Window_mac.mm | 106 fWindowContext = NewRasterForMac(info, fRequestedDisplayParams); 111 fWindowContext = NewGLForMac(info, fRequestedDisplayParams); 116 return (SkToBool(fWindowContext));
|