Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: gpu/command_buffer/client/gles2_cmd_helper_autogen.h

Issue 661220: Added support for glGetString, glGetShaderSource,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_cmd_helper_autogen.h
===================================================================
--- gpu/command_buffer/client/gles2_cmd_helper_autogen.h (revision 40176)
+++ gpu/command_buffer/client/gles2_cmd_helper_autogen.h (working copy)
@@ -491,14 +491,9 @@
c.Init(program, pname, params_shm_id, params_shm_offset);
}
- void GetProgramInfoLog(
- GLuint program, GLsizei bufsize, uint32 length_shm_id,
- uint32 length_shm_offset, uint32 infolog_shm_id,
- uint32 infolog_shm_offset) {
+ void GetProgramInfoLog(GLuint program, uint32 bucket_id) {
gles2::GetProgramInfoLog& c = GetCmdSpace<gles2::GetProgramInfoLog>();
- c.Init(
- program, bufsize, length_shm_id, length_shm_offset, infolog_shm_id,
- infolog_shm_offset);
+ c.Init(program, bucket_id);
}
void GetRenderbufferParameteriv(
@@ -516,14 +511,9 @@
c.Init(shader, pname, params_shm_id, params_shm_offset);
}
- void GetShaderInfoLog(
- GLuint shader, GLsizei bufsize, uint32 length_shm_id,
- uint32 length_shm_offset, uint32 infolog_shm_id,
- uint32 infolog_shm_offset) {
+ void GetShaderInfoLog(GLuint shader, uint32 bucket_id) {
gles2::GetShaderInfoLog& c = GetCmdSpace<gles2::GetShaderInfoLog>();
- c.Init(
- shader, bufsize, length_shm_id, length_shm_offset, infolog_shm_id,
- infolog_shm_offset);
+ c.Init(shader, bucket_id);
}
void GetShaderPrecisionFormat(
@@ -534,19 +524,14 @@
c.Init(shadertype, precisiontype, result_shm_id, result_shm_offset);
}
- void GetShaderSource(
- GLuint shader, GLsizei bufsize, uint32 length_shm_id,
- uint32 length_shm_offset, uint32 source_shm_id,
- uint32 source_shm_offset) {
+ void GetShaderSource(GLuint shader, uint32 bucket_id) {
gles2::GetShaderSource& c = GetCmdSpace<gles2::GetShaderSource>();
- c.Init(
- shader, bufsize, length_shm_id, length_shm_offset, source_shm_id,
- source_shm_offset);
+ c.Init(shader, bucket_id);
}
- void GetString(GLenum name) {
+ void GetString(GLenum name, uint32 bucket_id) {
gles2::GetString& c = GetCmdSpace<gles2::GetString>();
- c.Init(name);
+ c.Init(name, bucket_id);
}
void GetTexParameterfv(
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698