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

Unified Diff: ui/gl/gl_version_info.h

Issue 2259523002: Fix gles2_conform_test failures when Mac switching to core profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 4 years, 4 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 | « gpu/gles2_conform_support/gles2_conform_test.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_version_info.h
diff --git a/ui/gl/gl_version_info.h b/ui/gl/gl_version_info.h
index ff751f8f6da6e3630f3a942e0f4d3c4fb87d4ea3..73018d0395789d7edaf25e9a52dcfea11f4d2fb9 100644
--- a/ui/gl/gl_version_info.h
+++ b/ui/gl/gl_version_info.h
@@ -39,6 +39,10 @@ struct GL_EXPORT GLVersionInfo {
return is_es || is_desktop_core_profile;
}
+ bool SupportsFixedType() const {
+ return is_es || IsAtLeastGL(4, 1);
+ }
+
static void ParseVersionString(const char* version_str,
unsigned* major_version,
unsigned* minor_version,
« no previous file with comments | « gpu/gles2_conform_support/gles2_conform_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698