Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: cmake/SkUserConfig.h.in

Issue 1835573002: [CMake fixes] Linux X11 pixel format and Windows compilation fix (Closed) Base URL: git@github.com:google/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« cmake/CMakeLists.txt ('K') | « cmake/CMakeLists.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmake/SkUserConfig.h.in
diff --git a/cmake/SkUserConfig.h.in b/cmake/SkUserConfig.h.in
index 0649656e7fb90704daa480e3f28127af3f8f8253..99da2545c71041ffc10fde0b1512578de8b1080c 100644
--- a/cmake/SkUserConfig.h.in
+++ b/cmake/SkUserConfig.h.in
@@ -10,6 +10,15 @@
#undef SK_RELEASE
#endif
+/* Change the ordering to work in X windows.
+ */
+#if ${SK_SAMPLES_FOR_X}
Marco A. 2016/03/25 14:10:27 This was already in place in gypi files. Causes ma
+ #define SK_R32_SHIFT 16
+ #define SK_G32_SHIFT 8
+ #define SK_B32_SHIFT 0
+ #define SK_A32_SHIFT 24
+#endif
+
#cmakedefine01 SK_MESA
#endif
« cmake/CMakeLists.txt ('K') | « cmake/CMakeLists.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698