summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-10-17 12:07:48 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-11-27 09:55:08 +0100
commita81cddb3b2bc2848111eb3781c26acdab7baf628 (patch)
tree9e5ab1f7bd2601654e5dc1eca1ce6f497e4588fd /config_host
parenta8b73758e723656173aebaaa9d94926b03ca01d4 (diff)
use the same config file for skia build and using it
So that the setup is consistent. Change-Id: Ia113c7bf79036e3ec7585263ed70da68e461fbac
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_skia.h.in45
1 files changed, 45 insertions, 0 deletions
diff --git a/config_host/config_skia.h.in b/config_host/config_skia.h.in
new file mode 100644
index 000000000000..75b1e099ce8e
--- /dev/null
+++ b/config_host/config_skia.h.in
@@ -0,0 +1,45 @@
+/*
+
+Settings for the Skia library. We compile the Skia library with these
+settings and also LO code uses this header to ensure the settings
+are the same.
+*/
+
+#ifndef CONFIG_SKIA_H
+#define CONFIG_SKIA_H
+
+/* TODO SKIA check all these */
+
+#define SK_SUPPORT_GPU 1
+
+#define SK_GL 1
+
+#define SK_VULKAN 1
+
+#define SK_HAS_JPEG_LIBRARY 1
+
+#define SK_HAS_PNG_LIBRARY 1
+
+#define SK_GAMMA_APPLY_TO_A8
+
+#define SK_ASSUME_GL 1
+
+#define SK_ASSUME_GL_ES 0
+
+
+#ifdef DBG_UTIL
+
+#define SK_DEBUG
+
+#define SK_ENABLE_DUMP_GPU
+
+#else
+
+#define DSK_RELEASE
+
+#endif // DBG_UTIL
+
+// TODO ?
+//#define SK_R32_SHIFT 16
+
+#endif