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

Unified Diff: gpu/command_buffer/client/gles2_cmd_helper.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/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.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.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper.h b/gpu/command_buffer/client/gles2_cmd_helper.h
index 8d38ad42a5693691eccba09f7272b48db5e6d12d..bbcb89e55df184168f16ccf49228ddbc44788198 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper.h
@@ -27,19 +27,6 @@ class GPU_EXPORT GLES2CmdHelper : public CommandBufferHelper {
#include "gpu/command_buffer/client/gles2_cmd_helper_autogen.h"
// Helpers that could not be auto-generated.
- // TODO(gman): Auto generate these.
- void CreateAndConsumeTextureCHROMIUMImmediate(GLenum target,
- uint32_t client_id,
- const GLbyte* _mailbox) {
- const uint32_t size =
- gles2::cmds::CreateAndConsumeTextureCHROMIUMImmediate::ComputeSize();
- gles2::cmds::CreateAndConsumeTextureCHROMIUMImmediate* c =
- GetImmediateCmdSpaceTotalSize<
- gles2::cmds::CreateAndConsumeTextureCHROMIUMImmediate>(size);
- if (c) {
- c->Init(target, client_id, _mailbox);
- }
- }
private:
DISALLOW_COPY_AND_ASSIGN(GLES2CmdHelper);
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698