Index: gpu/command_buffer/service/context_group.h |
=================================================================== |
--- gpu/command_buffer/service/context_group.h (revision 56887) |
+++ gpu/command_buffer/service/context_group.h (working copy) |
@@ -30,6 +30,14 @@ |
// resources. |
class ContextGroup { |
public: |
+ struct ExtensionFlags { |
+ ExtensionFlags() |
+ : ext_framebuffer_multisample(false) { |
+ } |
+ |
+ bool ext_framebuffer_multisample; |
+ }; |
+ |
ContextGroup(); |
~ContextGroup(); |
@@ -101,6 +109,10 @@ |
return extensions_; |
} |
+ const ExtensionFlags& extension_flags() const { |
+ return extension_flags_; |
+ } |
+ |
private: |
void AddExtensionString(const std::string& str); |
@@ -135,6 +147,9 @@ |
// The extensions string returned by glGetString(GL_EXTENSIONS); |
std::string extensions_; |
+ // Flags for some extensions |
+ ExtensionFlags extension_flags_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ContextGroup); |
}; |