diff options
Diffstat (limited to 'chrome/common/gpu_info.h')
-rw-r--r-- | chrome/common/gpu_info.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/gpu_info.h b/chrome/common/gpu_info.h index 206ade1..95c2237 100644 --- a/chrome/common/gpu_info.h +++ b/chrome/common/gpu_info.h @@ -79,6 +79,10 @@ class GPUInfo { // 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 @@ class GPUInfo { 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 @@ class GPUInfo { 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) |