summaryrefslogtreecommitdiff
path: root/external/skia
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-11-27 09:55:07 +0100
commit71a07e886c61b47370ddaaf1b3d4b88971ef9efc (patch)
treea90d1b4084925f707a6b1f31f7ca3f218f0c0a0e /external/skia
parent3027980cdfaa954e4b4c244d3cd493923077d359 (diff)
initial implementation of Skia drawing on screen in Windows
Change-Id: I1562bd2cfd1862947042bef3343aefd851a65002
Diffstat (limited to 'external/skia')
-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
+