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

Unified Diff: chromecast/public/cast_sys_info.h

Issue 1117813002: Add GL strings to CastSysInfo interface and use to configure GPU (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment on ordering of GpuDataManager calls Created 5 years, 8 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 | « chromecast/browser/cast_browser_main_parts.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/public/cast_sys_info.h
diff --git a/chromecast/public/cast_sys_info.h b/chromecast/public/cast_sys_info.h
index 95d1da6e664f0e7cb50e79d8c498537fe1be7dd0..6297f5b3e2e4d50796a45584caf4898708963921 100644
--- a/chromecast/public/cast_sys_info.h
+++ b/chromecast/public/cast_sys_info.h
@@ -55,6 +55,19 @@ class CastSysInfo {
virtual std::string GetWifiInterface() = 0;
// Returns the name of the software AP interface.
virtual std::string GetApInterface() = 0;
+
+ // Returns the GL_VENDOR string of GPU driver. Must match the value that would
+ // be obtained from a GL context, but implementations must *not* create a GL
+ // context.
+ virtual std::string GetGlVendor() = 0;
+ // Returns the GL_RENDERER string of GPU driver. Must match the value that
+ // would be obtained from a GL context, but implementations must *not* create
+ // a GL context.
+ virtual std::string GetGlRenderer() = 0;
+ // Returns the GL_VERSION string of GPU driver. Must match the value that
+ // would be obtained from a GL context, but implementations must *not* create
+ // a GL context.
+ virtual std::string GetGlVersion() = 0;
};
} // namespace chromecast
« no previous file with comments | « chromecast/browser/cast_browser_main_parts.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698