aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrGLConfig_chrome.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-02-07 15:44:39 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-02-07 15:44:39 +0000
commitaa6773557919fc9640e0873b7e87d4138aa2a6ad (patch)
treeb879af478da55338e4c81c99c94d6c7faa1038b6 /include/gpu/GrGLConfig_chrome.h
parent0a9cc44a40a2bc101da1af89926152098ffcc44b (diff)
Allow chrome to limit the number of FBO status checks
Review URL: https://codereview.appspot.com/5635052 git-svn-id: http://skia.googlecode.com/svn/trunk@3144 2bbb7eff-a529-9590-31e7-b0007b416f81
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 2bae14579e..50ea34c6d3 100644
--- a/include/gpu/GrGLConfig_chrome.h
+++ b/include/gpu/GrGLConfig_chrome.h
@@ -31,4 +31,7 @@
// compositor also doesn't check its allocations.
#define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0
+// CheckFramebufferStatus in chrome synchronizes the gpu and renderer processes.
+#define GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT 1
+
#endif