diff options
author | 2013-02-21 16:34:21 +0000 | |
---|---|---|
committer | 2013-02-21 16:34:21 +0000 | |
commit | 96966a5a1ffc2f03eef1b5523308299aa4195f50 (patch) | |
tree | 31ff4279d562df89c5b8bf379b395299edc1ba05 /include/gpu/gl/GrGLConfig_chrome.h | |
parent | a1c511b8704c6c266b90860a4c68f30ca7514f9b (diff) |
Use CPU arrays for dynamic indices/vertices on ARM GPUs.
Review URL: https://codereview.appspot.com/7365047
git-svn-id: http://skia.googlecode.com/svn/trunk@7810 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/gl/GrGLConfig_chrome.h')
-rw-r--r-- | include/gpu/gl/GrGLConfig_chrome.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpu/gl/GrGLConfig_chrome.h b/include/gpu/gl/GrGLConfig_chrome.h index 50ea34c6d3..3a74abadb0 100644 --- a/include/gpu/gl/GrGLConfig_chrome.h +++ b/include/gpu/gl/GrGLConfig_chrome.h @@ -34,4 +34,7 @@ // CheckFramebufferStatus in chrome synchronizes the gpu and renderer processes. #define GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT 1 +// Non-VBO vertices and indices are not allowed in Chromium. +#define GR_GL_MUST_USE_VBO 1 + #endif |