1 2 /* 3 * Copyright 2011 Google Inc. 4 * 5 * Use of this source code is governed by a BSD-style license that can be 6 * found in the LICENSE file. 7 */ 8 #ifndef GrGLConfig_chrome_DEFINED 9 #define GrGLConfig_chrome_DEFINED 10 11 // glGetError() forces a sync with gpu process on chrome 12 #define GR_GL_CHECK_ERROR_START 0 13 14 // Check error is even more expensive in chrome (cmd buffer flush). The 15 // compositor also doesn't check its allocations. 16 #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0 17 18 #if !defined(GR_GL_IGNORE_ES3_MSAA) 19 #define GR_GL_IGNORE_ES3_MSAA 1 20 #endif 21 22 #endif 23