diff options
Diffstat (limited to 'gpu/command_buffer/service/context_group.h')
-rw-r--r-- | gpu/command_buffer/service/context_group.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h index 477983f..21fc061 100644 --- a/gpu/command_buffer/service/context_group.h +++ b/gpu/command_buffer/service/context_group.h @@ -35,6 +35,9 @@ class ContextGroup { // 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_; } |