aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrGLConfig_chrome.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrGLConfig_chrome.h')
-rw-r--r--include/gpu/GrGLConfig_chrome.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpu/GrGLConfig_chrome.h b/include/gpu/GrGLConfig_chrome.h
index d21e2f46d0..79324ab511 100644
--- a/include/gpu/GrGLConfig_chrome.h
+++ b/include/gpu/GrGLConfig_chrome.h
@@ -14,6 +14,9 @@
// ANGLE creates a temp VB for vertex attributes not specified per-vertex.
#define GR_GL_NO_CONSTANT_ATTRIBUTES GR_WIN32_BUILD
+// RGBA Readbacks are a slow path in ANGLE
+#define GR_GL_RGBA_8888_READBACK_SLOW GR_WIN32_BUILD
+
// cmd buffer allocates memory and memsets it to zero when it sees glBufferData
// with NULL.
#define GR_GL_USE_BUFFER_DATA_NULL_HINT 0