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/gles2_cmd_decoder.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/gles2_cmd_decoder.h')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h index 88d1892..92d5300 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.h +++ b/gpu/command_buffer/service/gles2_cmd_decoder.h @@ -25,6 +25,10 @@ namespace gles2 { class ContextGroup; class GLES2Util; +struct DisallowedExtensions { + bool multisampling; +}; + // This class implements the AsyncAPIInterface interface, decoding GLES2 // commands and calling GL. class GLES2Decoder : public CommonDecoder { @@ -61,6 +65,7 @@ class GLES2Decoder : public CommonDecoder { // true if successful. virtual bool Initialize(gfx::GLContext* context, const gfx::Size& size, + const DisallowedExtensions& disallowed_extensions, const char* allowed_extensions, const std::vector<int32>& attribs, GLES2Decoder* parent, |