Chromium Code Reviews| Index: gpu/command_buffer/service/context_group.h |
| =================================================================== |
| --- gpu/command_buffer/service/context_group.h (revision 51426) |
| +++ gpu/command_buffer/service/context_group.h (working copy) |
| @@ -35,6 +35,9 @@ |
| // This should only be called by GLES2Decoder. |
| bool Initialize(); |
| + // Destroys all the resources. MUST be called before destruction. |
| + void Destroy(bool have_context); |
| + |
| uint32 max_vertex_attribs() const { |
| return max_vertex_attribs_; |
| } |