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

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

Issue 2257533007: Autogenerate CreateAndConsumeTextureCHROMIUM handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/client/gles2_cmd_helper.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('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
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index 2071931a4c36ef6ddf5b0995f45daea1c35fa8b2..5a60ec93473cd6279e4fa0327135f3c757b2a905 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2604,6 +2604,19 @@ void ConsumeTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) {
}
}
+void CreateAndConsumeTextureINTERNALImmediate(GLenum target,
+ GLuint texture,
+ const GLbyte* mailbox) {
+ const uint32_t size =
+ gles2::cmds::CreateAndConsumeTextureINTERNALImmediate::ComputeSize();
+ gles2::cmds::CreateAndConsumeTextureINTERNALImmediate* c =
+ GetImmediateCmdSpaceTotalSize<
+ gles2::cmds::CreateAndConsumeTextureINTERNALImmediate>(size);
+ if (c) {
+ c->Init(target, texture, mailbox);
+ }
+}
+
void BindUniformLocationCHROMIUMBucket(GLuint program,
GLint location,
uint32_t name_bucket_id) {
« no previous file with comments | « gpu/command_buffer/client/gles2_cmd_helper.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698