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; |
} |