summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-08-18 19:26:45 +0200
committerLuboš Luňák <l.lunak@collabora.com>2021-08-24 12:52:39 +0200
commitddcdc2077fab2b6d9c4def4e4615185411cbe80a (patch)
treeb5a6ae5cc158def6c52e02f9448ee3ec1fac6c37 /config_host
parent4efd9f8a4bebe88841b5c3e27d2f7ef3ff10a8d0 (diff)
build Skia with Metal support
Change-Id: I7a9abde4101164af8c47433acfa35f4f9d3b3d04 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120907 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_skia.h.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/config_host/config_skia.h.in b/config_host/config_skia.h.in
index 10fd4374b9c5..1e003179291b 100644
--- a/config_host/config_skia.h.in
+++ b/config_host/config_skia.h.in
@@ -30,10 +30,13 @@ are the same.
#define SKIA_USE_BITMAP32 0
-
-#define SK_SUPPORT_GPU 1
-
+// GPU support (set by configure).
+#undef SK_SUPPORT_GPU
+// Vulkan support enabled (set by configure).
+// temporary override
#define SK_VULKAN 1
+// Metal support enabled (set by configure).
+#undef SK_METAL
// Memory allocator for Vulkan.
#define SK_USE_VMA 1