summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client/gles2_implementation_autogen.h
diff options
context:
space:
mode:
authorzmo <zmo@chromium.org>2015-02-17 14:07:07 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-17 22:08:01 +0000
commitc7e7e13f022f30f6b3eefd919881cb57513dca40 (patch)
tree166633a462a18c3122d8590151db5ab791c3ccf0 /gpu/command_buffer/client/gles2_implementation_autogen.h
parent96a23833e024783905297b60e7d86ca588ada45c (diff)
downloadchromium_src-c7e7e13f022f30f6b3eefd919881cb57513dca40.zip
chromium_src-c7e7e13f022f30f6b3eefd919881cb57513dca40.tar.gz
chromium_src-c7e7e13f022f30f6b3eefd919881cb57513dca40.tar.bz2
Add glGetActiveUniformsiv to GPU command buffer.
To improve performance, again we try to fetch all the info once through an internal command glGetUniformsES3CHROMIUM. Basically it gets all the information that can be provided by glGetActiveUniformsiv except for those that can already be queried through glGetActiveUniform, which will be cached on the client side through internal command glGetProgramInfoCHROMIUM. BUG=429053 TEST=gpu_unittests R=piman@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/921023002 Cr-Commit-Position: refs/heads/master@{#316666}
Diffstat (limited to 'gpu/command_buffer/client/gles2_implementation_autogen.h')
-rw-r--r--gpu/command_buffer/client/gles2_implementation_autogen.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation_autogen.h b/gpu/command_buffer/client/gles2_implementation_autogen.h
index 8bfdcf1..9d2d8eb 100644
--- a/gpu/command_buffer/client/gles2_implementation_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_autogen.h
@@ -266,6 +266,12 @@ void GetActiveUniformBlockName(GLuint program,
GLsizei* length,
char* name) override;
+void GetActiveUniformsiv(GLuint program,
+ GLsizei count,
+ const GLuint* indices,
+ GLenum pname,
+ GLint* params) override;
+
void GetAttachedShaders(GLuint program,
GLsizei maxcount,
GLsizei* count,
@@ -819,6 +825,11 @@ void GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
GLsizei* size,
void* info) override;
+void GetUniformsES3CHROMIUM(GLuint program,
+ GLsizei bufsize,
+ GLsizei* size,
+ void* info) override;
+
GLuint CreateStreamTextureCHROMIUM(GLuint texture) override;
GLuint CreateImageCHROMIUM(ClientBuffer buffer,