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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc

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/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc
index 7435b8d8a9013761d907a06ddafc0c95c4d0997e..e9cdbda35423e91c20d0d3e0fcc75ebc77182c32 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc
@@ -3091,8 +3091,8 @@ TEST_P(GLES2DecoderTest, ProduceAndConsumeDirectTextureCHROMIUM) {
// Consume the texture into a new client ID.
GLuint new_texture_id = kNewClientId;
- CreateAndConsumeTextureCHROMIUMImmediate& consume_cmd =
- *GetImmediateAs<CreateAndConsumeTextureCHROMIUMImmediate>();
+ CreateAndConsumeTextureINTERNALImmediate& consume_cmd =
+ *GetImmediateAs<CreateAndConsumeTextureINTERNALImmediate>();
consume_cmd.Init(GL_TEXTURE_2D, new_texture_id, mailbox.name);
EXPECT_EQ(error::kNoError,
ExecuteImmediateCmd(consume_cmd, sizeof(mailbox.name)));
@@ -3162,8 +3162,8 @@ TEST_P(GLES2DecoderTest, CreateAndConsumeTextureCHROMIUMInvalidMailbox) {
.Times(1)
.RetiresOnSaturation();
- CreateAndConsumeTextureCHROMIUMImmediate& consume_cmd =
- *GetImmediateAs<CreateAndConsumeTextureCHROMIUMImmediate>();
+ CreateAndConsumeTextureINTERNALImmediate& consume_cmd =
+ *GetImmediateAs<CreateAndConsumeTextureINTERNALImmediate>();
consume_cmd.Init(GL_TEXTURE_2D, new_texture_id, mailbox.name);
EXPECT_EQ(error::kNoError,
ExecuteImmediateCmd(consume_cmd, sizeof(mailbox.name)));
@@ -3211,8 +3211,8 @@ TEST_P(GLES2DecoderTest, CreateAndConsumeTextureCHROMIUMInvalidTarget) {
// Attempt to consume the mailbox with a different target.
GLuint new_texture_id = kNewClientId;
- CreateAndConsumeTextureCHROMIUMImmediate& consume_cmd =
- *GetImmediateAs<CreateAndConsumeTextureCHROMIUMImmediate>();
+ CreateAndConsumeTextureINTERNALImmediate& consume_cmd =
+ *GetImmediateAs<CreateAndConsumeTextureINTERNALImmediate>();
consume_cmd.Init(GL_TEXTURE_CUBE_MAP, new_texture_id, mailbox.name);
EXPECT_EQ(error::kNoError,
ExecuteImmediateCmd(consume_cmd, sizeof(mailbox.name)));
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698