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

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

Issue 10078006: Revert 132934 - this change seems to break many webgl related layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
===================================================================
--- gpu/command_buffer/common/gles2_cmd_format_test_autogen.h (revision 132957)
+++ gpu/command_buffer/common/gles2_cmd_format_test_autogen.h (working copy)
@@ -3701,25 +3701,6 @@
next_cmd, sizeof(cmd));
}
-TEST_F(GLES2FormatTest, CopyTextureCHROMIUM) {
- CopyTextureCHROMIUM& cmd = *GetBufferAs<CopyTextureCHROMIUM>();
- void* next_cmd = cmd.Set(
- &cmd,
- static_cast<GLenum>(11),
- static_cast<GLenum>(12),
- static_cast<GLenum>(13),
- static_cast<GLint>(14));
- EXPECT_EQ(static_cast<uint32>(CopyTextureCHROMIUM::kCmdId),
- cmd.header.command);
- EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u);
- EXPECT_EQ(static_cast<GLenum>(11), cmd.target);
- EXPECT_EQ(static_cast<GLenum>(12), cmd.source_id);
- EXPECT_EQ(static_cast<GLenum>(13), cmd.dest_id);
- EXPECT_EQ(static_cast<GLint>(14), cmd.level);
- CheckBytesWrittenMatchesExpectedSize(
- next_cmd, sizeof(cmd));
-}
-
TEST_F(GLES2FormatTest, DrawArraysInstancedANGLE) {
DrawArraysInstancedANGLE& cmd = *GetBufferAs<DrawArraysInstancedANGLE>();
void* next_cmd = cmd.Set(
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_format_autogen.h ('k') | gpu/command_buffer/common/gles2_cmd_ids_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698