Index: include/gpu/gl/GrGLConfig_chrome.h |
diff --git a/include/gpu/gl/GrGLConfig_chrome.h b/include/gpu/gl/GrGLConfig_chrome.h |
index b4776ab9345e0eeac00b673925affcf9746a10cb..ee875b7f22e049aaa3ddcb0c021febc8890b51b1 100644 |
--- a/include/gpu/gl/GrGLConfig_chrome.h |
+++ b/include/gpu/gl/GrGLConfig_chrome.h |
@@ -12,9 +12,13 @@ |
#define GR_GL_CHECK_ERROR_START 0 |
#if defined(SK_BUILD_FOR_WIN32) |
+// For RGBA teximage/readpixels ANGLE will sw-convert to/from BGRA. |
+#define GR_GL_RGBA_8888_PIXEL_OPS_SLOW 1 |
+ |
// ANGLE can go faster if the entire fbo is read rather than a subrect |
#define GR_GL_FULL_READPIXELS_FASTER_THAN_PARTIAL 1 |
#else |
+#define GR_GL_RGBA_8888_PIXEL_OPS_SLOW 0 |
#define GR_GL_FULL_READPIXELS_FASTER_THAN_PARTIAL 0 |
#endif |
@@ -39,4 +43,8 @@ |
// (const char* const instead of char**). |
#define GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE 1 |
+#if !defined(GR_GL_IGNORE_ES3_MSAA) |
+ #define GR_GL_IGNORE_ES3_MSAA 1 |
#endif |
+ |
+#endif |