summaryrefslogtreecommitdiff
path: root/external/skia/make-api-visible.patch
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-10-08 12:19:18 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-10-10 11:17:18 +0200
commitca5dbaa1b00c93461a8f0ebcf5dc420320e13ff9 (patch)
tree485685d012cab7e61742d3af32441f10a7c83657 /external/skia/make-api-visible.patch
parentdb75c4e194cb97aa4e352fa38a45c012ce597e30 (diff)
initial implementation of Skia drawing on screen in Windowsprivate/llunak/skia
Change-Id: I1562bd2cfd1862947042bef3343aefd851a65002
Diffstat (limited to 'external/skia/make-api-visible.patch')
-rw-r--r--external/skia/make-api-visible.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/external/skia/make-api-visible.patch b/external/skia/make-api-visible.patch
index d2c3b1f794e3..45f4ee44ae71 100644
--- a/external/skia/make-api-visible.patch
+++ b/external/skia/make-api-visible.patch
@@ -15,3 +15,23 @@
} // 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
+