summaryrefslogtreecommitdiffstats
path: root/config_host
diff options
context:
space:
mode:
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_skia.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config_host/config_skia.h.in b/config_host/config_skia.h.in
index db103238d4fc..c302dbcca3e6 100644
--- a/config_host/config_skia.h.in
+++ b/config_host/config_skia.h.in
@@ -51,6 +51,10 @@ are the same.
// those tests needed updating, which presumably has never happened.
#define SK_DRAWBITMAPRECT_FAST_OFFSET 1
+// Default to BGRA. Skia already defaults to that on Windows, and it seems
+// the default X11 visual is actually also BGRA.
+#define SK_R32_SHIFT 16
+
// Enable Skia's internal checks depending on DBG_UTIL mode. ENABLE_SKIA_DEBUG
// controls whether to build with or without optimizations (set in Makefile).
#ifdef DBG_UTIL