Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_GL_GL_DRIVER_WORKAROUNDS_H_ | |
| 6 #define UI_GL_GL_DRIVER_WORKAROUNDS_H_ | |
| 7 | |
| 8 #include "ui/gl/gl_export.h" | |
| 9 | |
| 10 namespace gl { | |
| 11 namespace workarounds { | |
| 12 | |
| 13 // glClearColor does not always work on Intel 6xxx Mac drivers. See | |
| 14 // crbug.com/710443. | |
| 15 GL_EXPORT extern bool clearToBoundaryValuesIsBroken; | |
|
Zhenyao Mo
2017/06/19 21:47:20
wrong naming convention
Zhenyao Mo
2017/06/19 21:47:20
I really think we should avoid global variables.
jiajia.qin
2017/06/20 04:22:45
Done.
| |
| 16 | |
| 17 } // namespace workarounds | |
| 18 } // namespace gl | |
| 19 | |
| 20 #endif // UI_GL_GL_DRIVER_WORKAROUNDS_H_ | |
| OLD | NEW |