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

Unified Diff: ui/gl/gl_version_info.cc

Issue 2164723003: Fix gpu mipmap support on ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: restrict fix to ES3 Created 4 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_version_info.h ('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.cc
diff --git a/ui/gl/gl_version_info.cc b/ui/gl/gl_version_info.cc
index 31392527db15c7a34ecaefbb75146c0a253fbcd1..31a512fe0c359e6061a927b1b917e30ed866b4ec 100644
--- a/ui/gl/gl_version_info.cc
+++ b/ui/gl/gl_version_info.cc
@@ -45,6 +45,7 @@ GLVersionInfo::GLVersionInfo(const char* version_str,
GLVersionInfo::GLVersionInfo()
: is_es(false),
is_angle(false),
+ is_mesa(false),
major_version(0),
minor_version(0),
is_es2(false),
@@ -62,6 +63,8 @@ void GLVersionInfo::Initialize(const char* version_str,
if (renderer_str) {
is_angle = base::StartsWith(renderer_str, "ANGLE",
base::CompareCase::SENSITIVE);
+ is_mesa = base::StartsWith(renderer_str, "Mesa",
+ base::CompareCase::SENSITIVE);
}
is_desktop_core_profile =
DesktopCoreCommonCheck(is_es, major_version, minor_version) &&
« no previous file with comments | « ui/gl/gl_version_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698