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

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

Issue 7538008: Delete copy_texture_to_parent_texture from GPU command buffer code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 94743)
+++ gpu/command_buffer/common/gles2_cmd_format_test_autogen.h (working copy)
@@ -3454,21 +3454,6 @@
EXPECT_EQ(static_cast<uint32>(13), cmd.result_shm_offset);
}
-TEST(GLES2FormatTest, CopyTextureToParentTextureCHROMIUM) {
- CopyTextureToParentTextureCHROMIUM cmd = { { 0 } };
- void* next_cmd = cmd.Set(
- &cmd,
- static_cast<GLuint>(11),
- static_cast<GLuint>(12));
- EXPECT_EQ(static_cast<uint32>(CopyTextureToParentTextureCHROMIUM::kCmdId),
- cmd.header.command);
- EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u);
- EXPECT_EQ(static_cast<char*>(next_cmd),
- reinterpret_cast<char*>(&cmd) + sizeof(cmd));
- EXPECT_EQ(static_cast<GLuint>(11), cmd.client_child_id);
- EXPECT_EQ(static_cast<GLuint>(12), cmd.client_parent_id);
-}
-
TEST(GLES2FormatTest, ResizeCHROMIUM) {
ResizeCHROMIUM cmd = { { 0 } };
void* next_cmd = cmd.Set(

Powered by Google App Engine
This is Rietveld 408576698