Chromium Code Reviews| Index: gpu/command_buffer/service/gles2_cmd_decoder.h |
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h |
| index 88d189275f467d713008e440c48c954ed6b038d3..bec7202aad61779f8f0e38a24e89f60b92488900 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; |
| +typedef struct DisallowedExtensions { |
|
apatrick_chromium
2011/03/07 22:31:40
And here
struct DisallowedExtensions {
bool mul
|
| + bool multisampling; |
| +} DisallowedExtensions; |
| + |
| // 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, |
|
zmo
2011/03/07 23:34:29
should be const DisallowedExtensions& disallowed.
|
| const char* allowed_extensions, |
| const std::vector<int32>& attribs, |
| GLES2Decoder* parent, |