1 diff -ur skia.org/tools/window/WindowContext.h skia/tools/window/WindowContext.h
2 --- skia.org/tools/window/WindowContext.h 2024-10-12 15:57:21
3 +++ skia/tools/window/WindowContext.h 2024-10-12 15:58:48
9 +class SK_API WindowContext {
11 WindowContext(const DisplayParams&);
13 diff -ur skia.org/tools/window/mac/GaneshMetalWindowContext_mac.h skia/tools/window/mac/GaneshMetalWindowContext_mac.h
14 --- skia.org/tools/window/mac/GaneshMetalWindowContext_mac.h 2024-10-12 15:57:21
15 +++ skia/tools/window/mac/GaneshMetalWindowContext_mac.h 2024-10-12 15:59:18
17 #ifndef GaneshMetalWindowContext_mac_DEFINED
18 #define GaneshMetalWindowContext_mac_DEFINED
20 +#include "include/private/base/SkAPI.h"
28 -std::unique_ptr<WindowContext> MakeGaneshMetalForMac(const MacWindowInfo&, const DisplayParams&);
29 +SK_API std::unique_ptr<WindowContext> MakeGaneshMetalForMac(const MacWindowInfo&, const DisplayParams&);
30 } // namespace skwindow
33 diff -ur skia.org/tools/window/unix/GaneshGLWindowContext_unix.h skia/tools/window/unix/GaneshGLWindowContext_unix.h
34 --- skia.org/tools/window/unix/GaneshGLWindowContext_unix.h 2024-10-12 15:57:21
35 +++ skia/tools/window/unix/GaneshGLWindowContext_unix.h 2024-10-12 15:59:44
37 #ifndef GaneshGLWindowContext_unix_DEFINED
38 #define GaneshGLWindowContext_unix_DEFINED
40 +#include "include/private/base/SkAPI.h"
46 struct XlibWindowInfo;
48 -std::unique_ptr<WindowContext> MakeGaneshGLForXlib(const XlibWindowInfo&, const DisplayParams&);
49 +SK_API std::unique_ptr<WindowContext> MakeGaneshGLForXlib(const XlibWindowInfo&, const DisplayParams&);
50 } // namespace skwindow
53 diff -ur skia.org/tools/window/unix/GaneshVulkanWindowContext_unix.h skia/tools/window/unix/GaneshVulkanWindowContext_unix.h
54 --- skia.org/tools/window/unix/GaneshVulkanWindowContext_unix.h 2024-10-12 15:57:21
55 +++ skia/tools/window/unix/GaneshVulkanWindowContext_unix.h 2024-10-12 15:58:48
57 #ifndef GaneshVulkanWindowContext_unix_DEFINED
58 #define GaneshVulkanWindowContext_unix_DEFINED
60 +#include "include/private/base/SkAPI.h"
66 struct XlibWindowInfo;
68 -std::unique_ptr<WindowContext> MakeGaneshVulkanForXlib(const XlibWindowInfo&, const DisplayParams&);
69 +SK_API std::unique_ptr<WindowContext> MakeGaneshVulkanForXlib(const XlibWindowInfo&, const DisplayParams&);
70 } // namespace skwindow
73 diff -ur skia.org/tools/window/unix/GraphiteDawnVulkanWindowContext_unix.h skia/tools/window/unix/GraphiteDawnVulkanWindowContext_unix.h
74 --- skia.org/tools/window/unix/GraphiteDawnVulkanWindowContext_unix.h 2024-10-12 15:57:21
75 +++ skia/tools/window/unix/GraphiteDawnVulkanWindowContext_unix.h 2024-10-12 15:58:48
77 #ifndef GraphiteDawnVulkanWindowContext_unix_DEFINED
78 #define GraphiteDawnVulkanWindowContext_unix_DEFINED
80 +#include "include/private/base/SkAPI.h"
86 struct XlibWindowInfo;
88 -std::unique_ptr<WindowContext> MakeGraphiteDawnVulkanForXlib(const XlibWindowInfo&,
89 +SK_API std::unique_ptr<WindowContext> MakeGraphiteDawnVulkanForXlib(const XlibWindowInfo&,
90 const DisplayParams&);
91 } // namespace skwindow
93 diff -ur skia.org/tools/window/unix/RasterWindowContext_unix.h skia/tools/window/unix/RasterWindowContext_unix.h
94 --- skia.org/tools/window/unix/RasterWindowContext_unix.h 2024-10-12 15:57:21
95 +++ skia/tools/window/unix/RasterWindowContext_unix.h 2024-10-12 15:58:48
97 #ifndef RasterWindowContext_unix_DEFINED
98 #define RasterWindowContext_unix_DEFINED
100 +#include "include/private/base/SkAPI.h"
105 struct DisplayParams;
106 struct XlibWindowInfo;
108 -std::unique_ptr<WindowContext> MakeRasterForXlib(const XlibWindowInfo&, const DisplayParams&);
109 +SK_API std::unique_ptr<WindowContext> MakeRasterForXlib(const XlibWindowInfo&, const DisplayParams&);
110 } // namespace skwindow
113 diff -ur skia.org/tools/window/win/WindowContextFactory_win.h skia/tools/window/win/WindowContextFactory_win.h
114 --- skia.org/tools/window/win/WindowContextFactory_win.h 2024-10-12 15:57:21
115 +++ skia/tools/window/win/WindowContextFactory_win.h 2024-10-12 16:00:18
120 +#include "include/private/base/SkAPI.h"
121 +#include "include/core/SkTypes.h"
126 struct DisplayParams;
129 -std::unique_ptr<WindowContext> MakeVulkanForWin(HWND, const DisplayParams&);
130 +SK_API std::unique_ptr<WindowContext> MakeVulkanForWin(HWND, const DisplayParams&);
131 #if defined(SK_GRAPHITE)
132 std::unique_ptr<WindowContext> MakeGraphiteVulkanForWin(HWND, const DisplayParams&);
137 -std::unique_ptr<WindowContext> MakeGLForWin(HWND, const DisplayParams&);
138 +SK_API std::unique_ptr<WindowContext> MakeGLForWin(HWND, const DisplayParams&);
142 -std::unique_ptr<WindowContext> MakeANGLEForWin(HWND, const DisplayParams&);
143 +SK_API std::unique_ptr<WindowContext> MakeANGLEForWin(HWND, const DisplayParams&);
147 -std::unique_ptr<WindowContext> MakeD3D12ForWin(HWND, const DisplayParams&);
148 +SK_API std::unique_ptr<WindowContext> MakeD3D12ForWin(HWND, const DisplayParams&);
156 -std::unique_ptr<WindowContext> MakeRasterForWin(HWND, const DisplayParams&);
157 +SK_API std::unique_ptr<WindowContext> MakeRasterForWin(HWND, const DisplayParams&);
159 } // namespace skwindow