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

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

Issue 872713004: Add glTransformFeedbackVaryings to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@caritas
Patch Set: Created 5 years, 11 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
Index: gpu/command_buffer/client/gles2_cmd_helper_autogen.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index 8ba8b43186383d14d34b72cb8349fd153e0c6105..899ff71169f82f5a9edcb97287bb8800c58c7040 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1408,6 +1408,16 @@ void TexSubImage3D(GLenum target,
}
}
+void TransformFeedbackVaryingsBucket(GLuint program,
+ uint32_t varyings_bucket_id,
+ GLenum buffermode) {
+ gles2::cmds::TransformFeedbackVaryingsBucket* c =
+ GetCmdSpace<gles2::cmds::TransformFeedbackVaryingsBucket>();
+ if (c) {
+ c->Init(program, varyings_bucket_id, buffermode);
+ }
+}
+
void Uniform1f(GLint location, GLfloat x) {
gles2::cmds::Uniform1f* c = GetCmdSpace<gles2::cmds::Uniform1f>();
if (c) {

Powered by Google App Engine
This is Rietveld 408576698