summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/renderbuffer_manager.h
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 22:41:16 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 22:41:16 +0000
commitd304cbdeccf3db7330c09cb218096a45a2bdc746 (patch)
treed0b939398f1fe3f4beb1def5fbede824d1dea94d /gpu/command_buffer/service/renderbuffer_manager.h
parente7f7509f4ab3672f61e6fc5ec6b5ce0b5eefb4a8 (diff)
downloadchromium_src-d304cbdeccf3db7330c09cb218096a45a2bdc746.zip
chromium_src-d304cbdeccf3db7330c09cb218096a45a2bdc746.tar.gz
chromium_src-d304cbdeccf3db7330c09cb218096a45a2bdc746.tar.bz2
Free the resources used by a context group.
TEST=unit tests BUG=none Review URL: http://codereview.chromium.org/2880013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51441 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/renderbuffer_manager.h')
-rw-r--r--gpu/command_buffer/service/renderbuffer_manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/renderbuffer_manager.h b/gpu/command_buffer/service/renderbuffer_manager.h
index e5f1c0b..50b64a9 100644
--- a/gpu/command_buffer/service/renderbuffer_manager.h
+++ b/gpu/command_buffer/service/renderbuffer_manager.h
@@ -75,6 +75,10 @@ class RenderbufferManager {
};
RenderbufferManager() { }
+ ~RenderbufferManager();
+
+ // Must call before destruction.
+ void Destroy(bool have_context);
// Creates a RenderbufferInfo for the given renderbuffer.
void CreateRenderbufferInfo(GLuint client_id, GLuint service_id);