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

Unified Diff: chrome/common/gpu_info.h

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/browser/dom_ui/gpu_internals_ui.cc ('k') | chrome/common/gpu_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gpu_info.h
===================================================================
--- chrome/common/gpu_info.h (revision 72186)
+++ chrome/common/gpu_info.h (working copy)
@@ -79,6 +79,10 @@
// Return "" if we are not using OpenGL.
std::string gl_renderer() const;
+ // Return the GL_EXTENSIONS string.
+ // Return "" if we are not using OpenGL.
+ std::string gl_extensions() const;
+
// Return the device semantics, i.e. whether the Vista and Windows 7 specific
// semantics are available.
bool can_lose_context() const;
@@ -103,6 +107,8 @@
void SetGLRenderer(const std::string& gl_renderer);
+ void SetGLExtensions(const std::string& gl_extensions);
+
void SetCanLoseContext(bool can_lose_context);
#if defined(OS_WIN)
@@ -125,6 +131,7 @@
std::string gl_version_string_;
std::string gl_vendor_;
std::string gl_renderer_;
+ std::string gl_extensions_;
bool can_lose_context_;
#if defined(OS_WIN)
« no previous file with comments | « chrome/browser/dom_ui/gpu_internals_ui.cc ('k') | chrome/common/gpu_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698