88f1fa54fd
Change-Id: I7d93fabf5d4cc427cef8130fd0a3e8765e4b3693 Reviewed-on: https://skia-review.googlesource.com/c/179248 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
23 lines
590 B
C
23 lines
590 B
C
|
|
/*
|
|
* Copyright 2011 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
#ifndef GrGLConfig_chrome_DEFINED
|
|
#define GrGLConfig_chrome_DEFINED
|
|
|
|
// glGetError() forces a sync with gpu process on chrome
|
|
#define GR_GL_CHECK_ERROR_START 0
|
|
|
|
// Check error is even more expensive in chrome (cmd buffer flush). The
|
|
// compositor also doesn't check its allocations.
|
|
#define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0
|
|
|
|
#if !defined(GR_GL_IGNORE_ES3_MSAA)
|
|
#define GR_GL_IGNORE_ES3_MSAA 1
|
|
#endif
|
|
|
|
#endif
|