Home
last modified time | relevance | path

Searched refs:sk_app (Results 1 – 25 of 135) sorted by relevance

123456

/external/skqp/tools/viewer/
DViewer.h25 class Viewer : public sk_app::Application, sk_app::Window::Layer {
35 bool onTouch(intptr_t owner, sk_app::Window::InputState state, float x, float y) override;
36 bool onMouse(int x, int y, sk_app::Window::InputState state, uint32_t modifiers) override;
38 …bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers) override;
97 void setBackend(sk_app::Window::BackendType);
116 sk_app::Window* fWindow;
143 sk_app::Window::BackendType fBackendType;
155 sk_app::CommandSet fCommands;
DImGuiLayer.h17 class ImGuiLayer : public sk_app::Window::Layer {
25 void onAttach(sk_app::Window* window) override;
28 bool onMouse(int x, int y, sk_app::Window::InputState state, uint32_t modifiers) override;
30 …bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers) override;
34 sk_app::Window* fWindow;
/external/skia/tools/sk_app/unix/
Dmain_unix.cpp19 sk_app::Application* app = sk_app::Application::Create(argc, argv, (void*)display); in main()
47 SkTHashSet<sk_app::Window_unix*> pendingWindows; in main()
52 sk_app::Window_unix* win = sk_app::Window_unix::gWindowMap.find(event.xany.window); in main()
75 pendingWindows.foreach([](sk_app::Window_unix* win) { in main()
DDawnVulkanWindowContext_unix.cpp18 using sk_app::window_context_factory::XlibWindowInfo;
19 using sk_app::DisplayParams;
20 using sk_app::DawnWindowContext;
22 namespace sk_app { namespace
/external/skia/tools/sk_app/ios/
DMetalWindowContext_ios.mm8 #include "tools/sk_app/MetalWindowContext.h"
9 #include "tools/sk_app/ios/WindowContextFactory_ios.h"
14 using sk_app::DisplayParams;
15 using sk_app::window_context_factory::IOSWindowInfo;
16 using sk_app::MetalWindowContext;
41 sk_app::Window_ios* fWindow;
102 namespace sk_app {
115 } // namespace sk_app
DGLWindowContext_ios.mm10 #include "tools/sk_app/GLWindowContext.h"
11 #include "tools/sk_app/ios/WindowContextFactory_ios.h"
16 using sk_app::DisplayParams;
17 using sk_app::window_context_factory::IOSWindowInfo;
18 using sk_app::GLWindowContext;
45 sk_app::Window_ios* fWindow;
156 namespace sk_app {
169 } // namespace sk_app
DWindow_ios.mm8 #include "tools/sk_app/ios/WindowContextFactory_ios.h"
9 #include "tools/sk_app/ios/Window_ios.h"
13 - (WindowViewController*)initWithWindow:(sk_app::Window_ios*)initWindow;
19 using sk_app::Window;
21 namespace sk_app {
109 } // namespace sk_app
114 sk_app::Window_ios* fWindow;
117 - (WindowViewController*)initWithWindow:(sk_app::Window_ios *)initWindow {
140 sk_app::Window_ios* fWindow;
215 - (MainView*)initWithWindow:(sk_app::Window_ios *)initWindow {
DRasterWindowContext_ios.mm13 #include "tools/sk_app/GLWindowContext.h"
14 #include "tools/sk_app/ios/WindowContextFactory_ios.h"
19 using sk_app::DisplayParams;
20 using sk_app::window_context_factory::IOSWindowInfo;
21 using sk_app::GLWindowContext;
53 sk_app::Window_ios* fWindow;
183 namespace sk_app {
196 } // namespace sk_app
Dmain_ios.mm10 #include "tools/sk_app/Application.h"
11 #include "tools/sk_app/ios/Window_ios.h"
16 using sk_app::Application;
63 sk_app::Window_ios* mainWindow = sk_app::Window_ios::MainWindow();
86 sk_app::Window_ios::PaintWindow();
/external/skia/tools/sk_app/mac/
DMetalWindowContext_mac.mm8 #include "tools/sk_app/MetalWindowContext.h"
9 #include "tools/sk_app/mac/WindowContextFactory_mac.h"
14 using sk_app::DisplayParams;
15 using sk_app::window_context_factory::MacWindowInfo;
16 using sk_app::MetalWindowContext;
91 namespace sk_app {
104 } // namespace sk_app
DGLWindowContext_mac.mm10 #include "tools/sk_app/GLWindowContext.h"
11 #include "tools/sk_app/mac/WindowContextFactory_mac.h"
16 using sk_app::DisplayParams;
17 using sk_app::window_context_factory::MacWindowInfo;
18 using sk_app::GLWindowContext;
162 namespace sk_app {
175 } // namespace sk_app
DWindow_mac.mm9 #include "tools/sk_app/mac/WindowContextFactory_mac.h"
10 #include "tools/sk_app/mac/Window_mac.h"
15 - (WindowDelegate*)initWithWindow:(sk_app::Window_mac*)initWindow;
21 - (MainView*)initWithWindow:(sk_app::Window_mac*)initWindow;
27 using sk_app::Window;
29 namespace sk_app {
96 if (sk_app::Window_mac::gWindowMap.count() < 1) {
160 } // namespace sk_app
165 sk_app::Window_mac* fWindow;
168 - (WindowDelegate*)initWithWindow:(sk_app::Window_mac *)initWindow {
[all …]
DRasterWindowContext_mac.mm13 #include "tools/sk_app/GLWindowContext.h"
14 #include "tools/sk_app/mac/WindowContextFactory_mac.h"
20 using sk_app::DisplayParams;
21 using sk_app::window_context_factory::MacWindowInfo;
22 using sk_app::GLWindowContext;
175 namespace sk_app {
188 } // namespace sk_app
DDawnMTLWindowContext_mac.mm8 #include "tools/sk_app/DawnWindowContext.h"
9 #include "tools/sk_app/mac/WindowContextFactory_mac.h"
20 namespace sk_app {
22 using sk_app::window_context_factory::MacWindowInfo;
146 } //namespace sk_app
/external/skqp/tools/sk_app/mac/
DWindow_mac.mm14 - (MainView*)initWithWindow:(sk_app::Window*)initWindow;
20 - (WindowDelegate*)initWithWindow:(sk_app::Window*)initWindow;
26 using sk_app::Window;
28 namespace sk_app {
127 } // namespace sk_app
132 sk_app::Window* fWindow;
135 - (WindowDelegate*)initWithWindow:(sk_app::Window *)initWindow {
142 sk_app::Window_mac* macWindow = reinterpret_cast<sk_app::Window_mac*>(fWindow);
149 --sk_app::gWindowCount;
150 if (sk_app::gWindowCount < 1) {
[all …]
/external/skqp/tools/sk_app/unix/
Dmain_unix.cpp15 using sk_app::Application;
17 void finishWindow(sk_app::Window_unix* win) { in finishWindow()
32 SkTHashSet<sk_app::Window_unix*> pendingWindows; in main()
56 sk_app::Window_unix* win = sk_app::Window_unix::gWindowMap.find(event.xany.window); in main()
/external/skia/example/
DHelloWorld.h16 class HelloWorld : public sk_app::Application, sk_app::Window::Layer {
30 sk_app::Window* fWindow;
31 sk_app::Window::BackendType fBackendType;
/external/skqp/example/
DHelloWorld.h16 class HelloWorld : public sk_app::Application, sk_app::Window::Layer {
30 sk_app::Window* fWindow;
31 sk_app::Window::BackendType fBackendType;
/external/skia/tools/sk_app/
DMetalWindowContext.mm17 #include "tools/sk_app/MetalWindowContext.h"
19 using sk_app::DisplayParams;
20 using sk_app::MetalWindowContext;
22 namespace sk_app {
91 // ARC is off in sk_app, so we need to release the CF ref manually
108 } //namespace sk_app
/external/skqp/tools/sk_app/ios/
DGLWindowContext_ios.cpp15 using sk_app::DisplayParams;
16 using sk_app::window_context_factory::IOSWindowInfo;
17 using sk_app::GLWindowContext;
83 namespace sk_app { namespace
DRasterWindowContext_ios.cpp20 using sk_app::DisplayParams;
21 using sk_app::window_context_factory::IOSWindowInfo;
22 using sk_app::GLWindowContext;
116 namespace sk_app { namespace
/external/skia/tools/viewer/
DViewer.h30 class Viewer : public sk_app::Application, sk_app::Window::Layer {
102 void setBackend(sk_app::Window::BackendType);
121 sk_app::Window* fWindow;
149 sk_app::Window::BackendType fBackendType;
161 sk_app::CommandSet fCommands;
/external/skia/modules/skplaintexteditor/app/
Deditor_application.cpp89 struct EditorLayer : public sk_app::Window::Layer {
91 sk_app::Window* fParent = nullptr;
158 void onAttach(sk_app::Window* w) override { fParent = w; } in onAttach()
369 static constexpr sk_app::Window::BackendType kBackendType = sk_app::Window::kNativeGL_BackendType;
371 struct EditorApplication : public sk_app::Application {
372 std::unique_ptr<sk_app::Window> fWindow;
376 EditorApplication(std::unique_ptr<sk_app::Window> win) : fWindow(std::move(win)) {} in EditorApplication()
406 sk_app::Application* sk_app::Application::Create(int argc, char** argv, void* dat) { in Create()
410 std::unique_ptr<sk_app::Window> win(sk_app::Window::CreateNativeWindow(dat)); in Create()
/external/skqp/tools/sk_app/win/
DGLWindowContext_win.cpp17 using sk_app::GLWindowContext;
18 using sk_app::DisplayParams;
22 namespace sk_app { namespace
142 namespace sk_app { namespace
/external/skia/tools/sk_app/win/
DGLWindowContext_win.cpp17 using sk_app::GLWindowContext;
18 using sk_app::DisplayParams;
22 namespace sk_app { namespace
146 namespace sk_app { namespace

123456