Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Unified Diff: ui/gl/gl_workarounds.h

Issue 2934733002: Workaround for Intel 6xxx clear to 0/1 bug (Closed)
Patch Set: rebased, rename setGLWorkarounds to set_gl_workarounds Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_gl_api_implementation.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_workarounds.h
diff --git a/ui/gl/gl_workarounds.h b/ui/gl/gl_workarounds.h
new file mode 100644
index 0000000000000000000000000000000000000000..2b93214209af78cd6a38392dec8f1e5eef4cc3b6
--- /dev/null
+++ b/ui/gl/gl_workarounds.h
@@ -0,0 +1,18 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_GL_GL_WORKAROUNDS_H_
+#define UI_GL_GL_WORKAROUNDS_H_
+
+namespace gl {
+
+struct GLWorkarounds {
+ // glClearColor does not always work on Intel 6xxx Mac drivers. See
+ // crbug.com/710443.
+ bool clear_to_zero_or_one_broken = false;
+};
+
+} // namespace gl
+
+#endif // UI_GL_GL_WORKAROUNDS_H_
« no previous file with comments | « ui/gl/gl_gl_api_implementation.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698