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

Unified Diff: gpu/command_buffer/client/gles2_implementation_unittest_autogen.h

Issue 165393003: gpu: Generate mailboxes on client side (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 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/client/gles2_implementation_unittest_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
index 6cefd1d551ca43daefe2b3f9ac4eea381a5c1aad..172b1b369496a021c395243548bd2a68cb9e7425 100644
--- a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
@@ -1738,38 +1738,6 @@ TEST_F(GLES2ImplementationTest, VertexAttribDivisorANGLE) {
EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
}
// TODO: Implement unit test for GenMailboxCHROMIUM
-
-TEST_F(GLES2ImplementationTest, ProduceTextureCHROMIUM) {
- GLbyte data[64] = {0};
- struct Cmds {
- cmds::ProduceTextureCHROMIUMImmediate cmd;
- GLbyte data[64];
- };
-
- for (int jj = 0; jj < 64; ++jj) {
- data[jj] = static_cast<GLbyte>(jj);
- }
- Cmds expected;
- expected.cmd.Init(GL_TEXTURE_2D, &data[0]);
- gl_->ProduceTextureCHROMIUM(GL_TEXTURE_2D, &data[0]);
- EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
-}
-
-TEST_F(GLES2ImplementationTest, ConsumeTextureCHROMIUM) {
- GLbyte data[64] = {0};
- struct Cmds {
- cmds::ConsumeTextureCHROMIUMImmediate cmd;
- GLbyte data[64];
- };
-
- for (int jj = 0; jj < 64; ++jj) {
- data[jj] = static_cast<GLbyte>(jj);
- }
- Cmds expected;
- expected.cmd.Init(GL_TEXTURE_2D, &data[0]);
- gl_->ConsumeTextureCHROMIUM(GL_TEXTURE_2D, &data[0]);
- EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
-}
// TODO: Implement unit test for BindUniformLocationCHROMIUM
TEST_F(GLES2ImplementationTest, BindTexImage2DCHROMIUM) {

Powered by Google App Engine
This is Rietveld 408576698