Index: include/gpu/gl/GrGLConfig_chrome.h |
diff --git a/include/gpu/gl/GrGLConfig_chrome.h b/include/gpu/gl/GrGLConfig_chrome.h |
index ee875b7f22e049aaa3ddcb0c021febc8890b51b1..acad90450c11c8b66843bb6743e82a5d04e142df 100644 |
--- a/include/gpu/gl/GrGLConfig_chrome.h |
+++ b/include/gpu/gl/GrGLConfig_chrome.h |
@@ -12,12 +12,16 @@ |
#define GR_GL_CHECK_ERROR_START 0 |
#if defined(SK_BUILD_FOR_WIN32) |
+// ANGLE creates a temp VB for vertex attributes not specified per-vertex. |
+#define GR_GL_NO_CONSTANT_ATTRIBUTES 1 |
+ |
// 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_NO_CONSTANT_ATTRIBUTES 0 |
#define GR_GL_RGBA_8888_PIXEL_OPS_SLOW 0 |
#define GR_GL_FULL_READPIXELS_FASTER_THAN_PARTIAL 0 |
#endif |