Index: gpu/command_buffer/service/texture_manager.h |
=================================================================== |
--- gpu/command_buffer/service/texture_manager.h (revision 51426) |
+++ gpu/command_buffer/service/texture_manager.h (working copy) |
@@ -195,7 +195,11 @@ |
TextureManager(GLsizei max_texture_size, |
GLsizei max_cube_map_texture_size); |
+ ~TextureManager(); |
+ // Must call before destruction. |
+ void Destroy(bool have_context); |
+ |
// Returns the maximum number of levels. |
GLint MaxLevelsForTarget(GLenum target) const { |
return (target == GL_TEXTURE_2D) ? max_levels_ : max_cube_map_levels_; |