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

Unified Diff: gpu/command_buffer/common/gles2_cmd_format_test_autogen.h

Issue 1887533002: Add plumbing to command buffer for CALayer min and mag filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix parameter ordering. Created 4 years, 8 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/common/gles2_cmd_format_test_autogen.h
diff --git a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
index cee9167164c83681e7111b3ccd473dad16be7fdb..c1f5dfd1e63a98bffd0579c5f56f42d15f316eca 100644
--- a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
@@ -4783,11 +4783,11 @@ TEST_F(GLES2FormatTest, ScheduleOverlayPlaneCHROMIUM) {
TEST_F(GLES2FormatTest, ScheduleCALayerCHROMIUM) {
cmds::ScheduleCALayerCHROMIUM& cmd =
*GetBufferAs<cmds::ScheduleCALayerCHROMIUM>();
- void* next_cmd =
- cmd.Set(&cmd, static_cast<GLuint>(11), static_cast<GLfloat>(12),
- static_cast<GLuint>(13), static_cast<GLuint>(14),
- static_cast<GLboolean>(15), static_cast<GLint>(16),
- static_cast<GLuint>(17), static_cast<GLuint>(18));
+ void* next_cmd = cmd.Set(&cmd, static_cast<GLuint>(11),
+ static_cast<GLfloat>(12), static_cast<GLuint>(13),
+ static_cast<GLuint>(14), static_cast<GLboolean>(15),
+ static_cast<GLint>(16), static_cast<GLuint>(17),
+ static_cast<GLuint>(18), static_cast<GLuint>(19));
EXPECT_EQ(static_cast<uint32_t>(cmds::ScheduleCALayerCHROMIUM::kCmdId),
cmd.header.command);
EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u);
@@ -4797,8 +4797,9 @@ TEST_F(GLES2FormatTest, ScheduleCALayerCHROMIUM) {
EXPECT_EQ(static_cast<GLuint>(14), cmd.edge_aa_mask);
EXPECT_EQ(static_cast<GLboolean>(15), cmd.is_clipped);
EXPECT_EQ(static_cast<GLint>(16), cmd.sorting_context_id);
- EXPECT_EQ(static_cast<GLuint>(17), cmd.shm_id);
- EXPECT_EQ(static_cast<GLuint>(18), cmd.shm_offset);
+ EXPECT_EQ(static_cast<GLuint>(17), cmd.filter);
+ EXPECT_EQ(static_cast<GLuint>(18), cmd.shm_id);
+ EXPECT_EQ(static_cast<GLuint>(19), cmd.shm_offset);
CheckBytesWrittenMatchesExpectedSize(next_cmd, sizeof(cmd));
}
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_format_autogen.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698