summaryrefslogtreecommitdiff
path: root/external/skia/make-api-visible.patch
blob: 45f4ee44ae71e7ba2ce43332956555d42dd7aee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--- skia/tools/sk_app/unix/WindowContextFactory_unix.h.sav	2019-09-26 15:02:19.637587019 +0200
+++ skia/tools/sk_app/unix/WindowContextFactory_unix.h	2019-10-07 11:52:46.744194127 +0200
@@ -33,11 +33,11 @@ struct XlibWindowInfo {
     int          fHeight;
 };
 
-WindowContext* NewVulkanForXlib(const XlibWindowInfo&, const DisplayParams&);
+SK_API WindowContext* NewVulkanForXlib(const XlibWindowInfo&, const DisplayParams&);
 
-WindowContext* NewGLForXlib(const XlibWindowInfo&, const DisplayParams&);
+SK_API WindowContext* NewGLForXlib(const XlibWindowInfo&, const DisplayParams&);
 
-WindowContext* NewRasterForXlib(const XlibWindowInfo&, const DisplayParams&);
+SK_API WindowContext* NewRasterForXlib(const XlibWindowInfo&, const DisplayParams&);
 
 }  // namespace window_context_factory
 
--- skia/tools/sk_app/win/WindowContextFactory_win.h
+++ skia/tools/sk_app/win/WindowContextFactory_win.h
@@ -18,13 +18,13 @@ struct DisplayParams;
 
 namespace window_context_factory {
 
-WindowContext* NewVulkanForWin(HWND, const DisplayParams&);
+SK_API WindowContext* NewVulkanForWin(HWND, const DisplayParams&);
 
-WindowContext* NewGLForWin(HWND, const DisplayParams&);
+SK_API WindowContext* NewGLForWin(HWND, const DisplayParams&);
 
-WindowContext* NewANGLEForWin(HWND, const DisplayParams&);
+SK_API WindowContext* NewANGLEForWin(HWND, const DisplayParams&);
 
-WindowContext* NewRasterForWin(HWND, const DisplayParams&);
+SK_API WindowContext* NewRasterForWin(HWND, const DisplayParams&);
 
 }  // namespace window_context_factory