From aa6773557919fc9640e0873b7e87d4138aa2a6ad Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Tue, 7 Feb 2012 15:44:39 +0000 Subject: 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 --- include/gpu/GrGLConfig_chrome.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/gpu/GrGLConfig_chrome.h') 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 -- cgit v1.2.3