diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-09 19:45:24 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-09 19:45:24 +0000 |
commit | 5094b0f1606da9535aa79bc53bd23808c1fcaed0 (patch) | |
tree | 6b4553611a7fa95c82e0bb7f4288976c010d8f93 /gpu/command_buffer/service/renderbuffer_manager.h | |
parent | fddfcac49093d05e6ed34622320f280bb23fe994 (diff) | |
download | chromium_src-5094b0f1606da9535aa79bc53bd23808c1fcaed0.zip chromium_src-5094b0f1606da9535aa79bc53bd23808c1fcaed0.tar.gz chromium_src-5094b0f1606da9535aa79bc53bd23808c1fcaed0.tar.bz2 |
* Check for GL_ANGLE_framebuffer_mutlisample
* Return correct values for GL_MAX_VIEWPORT_DIMS
* connect blitFramebufferEXT to blitFramebufferANGLE
TEST=unit tests
BUG=55471,55560,56733
Review URL: http://codereview.chromium.org/4500001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/renderbuffer_manager.h')
-rw-r--r-- | gpu/command_buffer/service/renderbuffer_manager.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/renderbuffer_manager.h b/gpu/command_buffer/service/renderbuffer_manager.h index d3fbaa8..c6992c3a 100644 --- a/gpu/command_buffer/service/renderbuffer_manager.h +++ b/gpu/command_buffer/service/renderbuffer_manager.h @@ -74,9 +74,13 @@ class RenderbufferManager { GLenum internal_format_; }; - RenderbufferManager(); + explicit RenderbufferManager(GLint max_renderbuffer_size); ~RenderbufferManager(); + GLint max_renderbuffer_size() const { + return max_renderbuffer_size_; + } + // Must call before destruction. void Destroy(bool have_context); @@ -93,6 +97,8 @@ class RenderbufferManager { bool GetClientId(GLuint service_id, GLuint* client_id) const; private: + GLint max_renderbuffer_size_; + // Info for each renderbuffer in the system. // TODO(gman): Choose a faster container. typedef std::map<GLuint, RenderbufferInfo::Ref> RenderbufferInfoMap; |