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

Unified Diff: skia/include/corecg/SkUserConfig.h

Issue 67024: Adds some ifdefs so that test_shell can be compiled on linux... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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
« no previous file with comments | « chrome/views/widget/root_view.h ('k') | webkit/glue/webcursor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/include/corecg/SkUserConfig.h
===================================================================
--- skia/include/corecg/SkUserConfig.h (revision 13475)
+++ skia/include/corecg/SkUserConfig.h (working copy)
@@ -145,12 +145,19 @@
#error Read the comment at this location
#endif
+#ifdef LINUX2
+#define SK_A32_SHIFT 24
+#define SK_B32_SHIFT 16
+#define SK_G32_SHIFT 8
+#define SK_R32_SHIFT 0
+#else
// For Linux we want to match the most common X visual, which is
// ARGB (in registers)
#define SK_A32_SHIFT 24
#define SK_R32_SHIFT 16
#define SK_G32_SHIFT 8
#define SK_B32_SHIFT 0
+#endif
#endif
« no previous file with comments | « chrome/views/widget/root_view.h ('k') | webkit/glue/webcursor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698