diff options
author | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-12 00:33:42 +0000 |
---|---|---|
committer | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-12 00:33:42 +0000 |
commit | 32fc6ab6167aa03a7197d37aea94e3ee98d70c59 (patch) | |
tree | edbf41f0b79362ecced16a82dd4e459200eacace /gpu/command_buffer/service/context_group.h | |
parent | ec029c308d1a7b64f8ae0981023ffb7acbb10bff (diff) | |
download | chromium_src-32fc6ab6167aa03a7197d37aea94e3ee98d70c59.zip chromium_src-32fc6ab6167aa03a7197d37aea94e3ee98d70c59.tar.gz chromium_src-32fc6ab6167aa03a7197d37aea94e3ee98d70c59.tar.bz2 |
Connect up --disable-gl-multisampling to command buffer
Plumb the --disable-gl-multisampling flag in to the command buffer, so it won't report the extension to any consumers.
BUG=75181
TEST=webgl antialias test
Review URL: http://codereview.chromium.org/6623063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77899 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/context_group.h')
-rw-r--r-- | gpu/command_buffer/service/context_group.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h index f3ae4b7..80b2e46 100644 --- a/gpu/command_buffer/service/context_group.h +++ b/gpu/command_buffer/service/context_group.h @@ -27,6 +27,7 @@ class RenderbufferManager; class ProgramManager; class ShaderManager; class TextureManager; +struct DisallowedExtensions; // A Context Group helps manage multiple GLES2Decoders that share // resources. @@ -38,7 +39,8 @@ class ContextGroup : public base::RefCounted<ContextGroup> { ~ContextGroup(); // This should only be called by GLES2Decoder. - bool Initialize(const char* allowed_features); + bool Initialize(const DisallowedExtensions& disallowed_extensions, + const char* allowed_features); // Sets the ContextGroup has having a lost context. void set_have_context(bool have_context) { |