Chromium Code Reviews| Index: gpu/command_buffer/service/context_group.h |
| diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h |
| index f3ae4b7c15162827d9c2975f480c5b0c968cc562..06b3001d1261da3bc1625e10bdfa7ea259a1e2c3 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; |
| +typedef struct DisallowedExtensions DisallowedExtensions; |
|
apatrick_chromium
2011/03/07 22:31:40
Can this just be
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, |
| + const char* allowed_features); |
|
zmo
2011/03/07 23:34:29
@gman: will there ever a conflict between disallow
|
| // Sets the ContextGroup has having a lost context. |
| void set_have_context(bool have_context) { |