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

Unified Diff: chrome/common/gpu_info.cc

Issue 6279009: Collect GL_EXTENSIONS string in GPUInfo and display it in about:gpu page.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « chrome/common/gpu_info.h ('k') | chrome/common/gpu_info_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gpu_info.cc
===================================================================
--- chrome/common/gpu_info.cc (revision 72186)
+++ chrome/common/gpu_info.cc (working copy)
@@ -16,6 +16,7 @@
gl_version_string_(""),
gl_vendor_(""),
gl_renderer_(""),
+ gl_extensions_(""),
can_lose_context_(false) {
}
@@ -67,6 +68,10 @@
return gl_renderer_;
}
+std::string GPUInfo::gl_extensions() const {
+ return gl_extensions_;
+}
+
bool GPUInfo::can_lose_context() const {
return can_lose_context_;
}
@@ -113,6 +118,10 @@
gl_renderer_ = gl_renderer;
}
+void GPUInfo::SetGLExtensions(const std::string& gl_extensions) {
+ gl_extensions_ = gl_extensions;
+}
+
void GPUInfo::SetCanLoseContext(bool can_lose_context) {
can_lose_context_ = can_lose_context;
}
« no previous file with comments | « chrome/common/gpu_info.h ('k') | chrome/common/gpu_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698