Home
last modified time | relevance | path

Searched refs:sk_app (Results 1 - 25 of 64) sorted by relevance

123

/third_party/skia/experimental/sktext/editor/
H A DApp.cpp11 #include "tools/sk_app/Application.h"
12 #include "tools/sk_app/Window.h"
26 struct EditorApplication : public sk_app::Application {
27 std::unique_ptr<sk_app::Window> fWindow;
31 EditorApplication(std::unique_ptr<sk_app::Window> win) : fWindow(std::move(win)) {} in EditorApplication()
34 fWindow->attach(sk_app::Window::kRaster_BackendType); in init()
60 sk_app::Application* sk_app::Application::Create(int argc, char** argv, void* dat) { in Create()
64 std::unique_ptr<sk_app::Window> win(sk_app in Create()
[all...]
H A DEditor.h16 #include "tools/sk_app/Application.h"
17 #include "tools/sk_app/Window.h"
25 class Editor : public sk_app::Window::Layer {
40 void onAttach(sk_app::Window* w) override { fParent = w; }
58 sk_app::Window* fParent;
/third_party/skia/modules/skplaintexteditor/app/
H A Deditor_application.cpp11 #include "tools/sk_app/Application.h"
12 #include "tools/sk_app/Window.h"
89 struct EditorLayer : public sk_app::Window::Layer {
91 sk_app::Window* fParent = nullptr;
158 void onAttach(sk_app::Window* w) override { fParent = w; }
370 static constexpr sk_app::Window::BackendType kBackendType = sk_app::Window::kVulkan_BackendType;
372 static constexpr sk_app::Window::BackendType kBackendType = sk_app::Window::kMetal_BackendType;
374 static constexpr sk_app
[all...]
/third_party/skia/tools/sk_app/unix/
H A Dmain_unix.cpp11 #include "tools/sk_app/Application.h"
12 #include "tools/sk_app/unix/Window_unix.h"
19 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()
H A DDawnVulkanWindowContext_unix.cpp8 #include "tools/sk_app/DawnWindowContext.h"
9 #include "tools/sk_app/unix/WindowContextFactory_unix.h"
18 using sk_app::window_context_factory::XlibWindowInfo;
19 using sk_app::DisplayParams;
20 using sk_app::DawnWindowContext;
22 namespace sk_app { namespace
107 } // namespace sk_app
H A DGLWindowContext_unix.cpp10 #include "tools/sk_app/GLWindowContext.h"
11 #include "tools/sk_app/unix/WindowContextFactory_unix.h"
15 using sk_app::window_context_factory::XlibWindowInfo;
16 using sk_app::DisplayParams;
17 using sk_app::GLWindowContext;
180 namespace sk_app { namespace
195 } // namespace sk_app
H A DRasterWindowContext_unix.cpp9 #include "tools/sk_app/RasterWindowContext.h"
10 #include "tools/sk_app/unix/WindowContextFactory_unix.h"
12 using sk_app::RasterWindowContext;
13 using sk_app::DisplayParams;
90 namespace sk_app { namespace
104 } // namespace sk_app
/third_party/skia/example/
H A DHelloWorld.h11 #include "tools/sk_app/Application.h"
12 #include "tools/sk_app/Window.h"
16 class HelloWorld : public sk_app::Application, sk_app::Window::Layer {
30 sk_app::Window* fWindow;
31 sk_app::Window::BackendType fBackendType;
/third_party/skia/tools/viewer/
H A DViewer.h20 #include "tools/sk_app/Application.h"
21 #include "tools/sk_app/CommandSet.h"
22 #include "tools/sk_app/Window.h"
32 class Viewer : public sk_app::Application, sk_app::Window::Layer {
150 void setBackend(sk_app::Window::BackendType);
170 sk_app::Window* fWindow;
198 sk_app::Window::BackendType fBackendType;
211 sk_app::CommandSet fCommands;
250 sk_app
[all...]
H A DViewer.cpp98 using namespace sk_app;
191 const char* kBackendTypeStrings[sk_app::Window::kBackendTypeCount] = {
214 static sk_app::Window::BackendType get_backend_type(const char* str) { in get_backend_type()
217 return sk_app::Window::kDawn_BackendType; in get_backend_type()
222 return sk_app::Window::kVulkan_BackendType; in get_backend_type()
227 return sk_app::Window::kANGLE_BackendType; in get_backend_type()
232 return sk_app::Window::kMetal_BackendType; in get_backend_type()
236 return sk_app::Window::kGraphiteMetal_BackendType; in get_backend_type()
242 return sk_app::Window::kDirect3D_BackendType; in get_backend_type()
247 return sk_app in get_backend_type()
[all...]
H A DImGuiLayer.h14 #include "tools/sk_app/Window.h"
116 class ImGuiLayer : public sk_app::Window::Layer {
126 void onAttach(sk_app::Window* window) override;
135 sk_app::Window* fWindow;
/third_party/skia/modules/androidkit/src/
H A DSurface.cpp12 #include "tools/sk_app/Application.h"
13 #include "tools/sk_app/DisplayParams.h"
14 #include "tools/sk_app/android/WindowContextFactory_android.h"
16 namespace sk_app { namespace
18 // TODO: split WindowContext from sk_app.
24 WindowSurface::WindowSurface(ANativeWindow* win, std::unique_ptr<sk_app::WindowContext> wctx) in WindowSurface()
178 sk_app::DisplayParams params; in Surface_CreateVK()
179 auto winctx = sk_app::window_context_factory::MakeVulkanForAndroid(win, params); in Surface_CreateVK()
197 sk_app::DisplayParams params; in Surface_CreateGL()
198 auto winctx = sk_app in Surface_CreateGL()
[all...]
H A DSurface.h18 #include "tools/sk_app/WindowContext.h"
48 WindowSurface(ANativeWindow* win, std::unique_ptr<sk_app::WindowContext> wctx);
56 std::unique_ptr<sk_app::WindowContext> fWindowContext;
H A DSurfaceThread.cpp9 #include "tools/sk_app/WindowContext.h"
10 #include "tools/sk_app/android/WindowContextFactory_android.h"
41 sk_app::DisplayParams params; in message_callback()
42 auto winctx = sk_app::window_context_factory::MakeGLForAndroid(message.fNativeWindow, params); in message_callback()
/third_party/skia/tools/sk_app/win/
H A DGLWindowContext_win.cpp11 #include "tools/sk_app/GLWindowContext.h"
12 #include "tools/sk_app/win/WindowContextFactory_win.h"
17 using sk_app::GLWindowContext;
18 using sk_app::DisplayParams;
22 namespace sk_app { namespace
28 } // namespace sk_app
146 namespace sk_app {
158 } // namespace sk_app
H A DRasterWindowContext_win.cpp10 #include "tools/sk_app/RasterWindowContext.h"
11 #include "tools/sk_app/win/WindowContextFactory_win.h"
15 using sk_app::RasterWindowContext;
16 using sk_app::DisplayParams;
87 namespace sk_app { namespace
99 } // namespace sk_app
H A DANGLEWindowContext_win.cpp15 #include "tools/sk_app/GLWindowContext.h"
16 #include "tools/sk_app/win/WindowContextFactory_win.h"
18 using sk_app::GLWindowContext;
19 using sk_app::DisplayParams;
167 namespace sk_app { namespace
179 } // namespace sk_app
/third_party/skia/tools/sk_app/android/
H A DRasterWindowContext_android.cpp11 #include "tools/sk_app/RasterWindowContext.h"
12 #include "tools/sk_app/android/WindowContextFactory_android.h"
14 using sk_app::RasterWindowContext;
15 using sk_app::DisplayParams;
95 namespace sk_app { namespace
108 } // namespace sk_app
H A DGLWindowContext_android.cpp12 #include "tools/sk_app/GLWindowContext.h"
13 #include "tools/sk_app/android/WindowContextFactory_android.h"
15 using sk_app::GLWindowContext;
16 using sk_app::DisplayParams;
144 namespace sk_app { namespace
157 } // namespace sk_app
/third_party/skia/tools/sk_app/ios/
H A DWindowContextFactory_ios.h12 #include "tools/sk_app/ios/Window_ios.h"
16 #include "tools/sk_app/WindowContext.h"
20 namespace sk_app { namespace
27 sk_app::Window_ios* fWindow;
49 } // namespace sk_app
H A DWindow_ios.h13 #include "tools/sk_app/Window.h"
17 namespace sk_app { namespace
51 } // namespace sk_app
57 - (MainView*)initWithWindow:(sk_app::Window_ios*)initWindow;
/third_party/skia/tools/sk_app/
H A DWindowContext.cpp8 #include "tools/sk_app/WindowContext.h"
15 namespace sk_app { namespace
22 } //namespace sk_app
H A DApplication.h11 namespace sk_app { namespace
22 } // namespace sk_app
H A DRasterWindowContext.h11 #include "tools/sk_app/WindowContext.h"
13 namespace sk_app { namespace
23 } // namespace sk_app
H A DDisplayParams.h14 namespace sk_app { namespace
37 } // namespace sk_app

Completed in 8 milliseconds

123