summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gl_interface.h
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-13 08:12:28 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-13 08:12:28 +0000
commit2fe6c79fdf2d51e309bfd4d6a3b21cdf5442dc69 (patch)
treec099bef596ace5aa5a3459e1006bbf588c7c857d /gpu/command_buffer/service/gl_interface.h
parentb1d7db76383c55c7bff0551270d8fdd339f0bdec (diff)
downloadchromium_src-2fe6c79fdf2d51e309bfd4d6a3b21cdf5442dc69.zip
chromium_src-2fe6c79fdf2d51e309bfd4d6a3b21cdf5442dc69.tar.gz
chromium_src-2fe6c79fdf2d51e309bfd4d6a3b21cdf5442dc69.tar.bz2
Adds client side arrays
The code is conditional. I guess my gaming side spidey senses can't stand the overhead but I could be convinced to make it non-conditional. TEST=various unit tests BUG=none Review URL: http://codereview.chromium.org/1629004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44334 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gl_interface.h')
-rw-r--r--gpu/command_buffer/service/gl_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gl_interface.h b/gpu/command_buffer/service/gl_interface.h
index 0629e20..fd934bf 100644
--- a/gpu/command_buffer/service/gl_interface.h
+++ b/gpu/command_buffer/service/gl_interface.h
@@ -400,6 +400,9 @@ class GLInterface {
virtual void SwapBuffers() = 0;
+ virtual GLuint GetMaxValueInBuffer(
+ GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) = 0;
+
private:
static GLInterface* interface_;
};