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

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

Issue 7623001: Rename and document glCommandBufferEnableCHROMIUM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix stuff Created 9 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
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 d4dbf8f2c67c9383a60174e7479b0b60405e7ef4..66e45aefd53afc958a5e848e6f63622d8b9741a8 100644
--- a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
@@ -3437,14 +3437,14 @@ TEST(GLES2FormatTest, RegisterSharedIdsCHROMIUM) {
EXPECT_EQ(static_cast<uint32>(14), cmd.ids_shm_offset);
}
-TEST(GLES2FormatTest, CommandBufferEnableCHROMIUM) {
- CommandBufferEnableCHROMIUM cmd = { { 0 } };
+TEST(GLES2FormatTest, EnableFeatureCHROMIUM) {
+ EnableFeatureCHROMIUM cmd = { { 0 } };
void* next_cmd = cmd.Set(
&cmd,
static_cast<GLuint>(11),
static_cast<uint32>(12),
static_cast<uint32>(13));
- EXPECT_EQ(static_cast<uint32>(CommandBufferEnableCHROMIUM::kCmdId),
+ EXPECT_EQ(static_cast<uint32>(EnableFeatureCHROMIUM::kCmdId),
cmd.header.command);
EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u);
EXPECT_EQ(static_cast<char*>(next_cmd),
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_format_autogen.h ('k') | gpu/command_buffer/common/gles2_cmd_id_test_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698