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

Unified Diff: gpu/command_buffer/client/gles2_implementation_unittest.cc

Issue 2278283003: Refactor client visibility handling (Closed)
Patch Set: fix compositor_unittests Created 4 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/client/gles2_implementation_unittest.cc
diff --git a/gpu/command_buffer/client/gles2_implementation_unittest.cc b/gpu/command_buffer/client/gles2_implementation_unittest.cc
index 7b4d153a6382ded5acd57450567cf1bd8d604c85..eeb0a5dfa7f77e81cee57066760ccb761e925e68 100644
--- a/gpu/command_buffer/client/gles2_implementation_unittest.cc
+++ b/gpu/command_buffer/client/gles2_implementation_unittest.cc
@@ -4607,21 +4607,6 @@ TEST_F(GLES2ImplementationManualInitTest, FailInitOnTransferBufferFail) {
EXPECT_FALSE(Initialize(init_options));
}
-TEST_F(GLES2ImplementationTest, ClientVisibility) {
- EXPECT_FALSE(gl_->AnyClientsVisible());
- gl_->SetClientVisible(0, true);
- EXPECT_TRUE(gl_->AnyClientsVisible());
- gl_->SetClientVisible(0, false);
- EXPECT_FALSE(gl_->AnyClientsVisible());
- gl_->SetClientVisible(0, true);
- gl_->SetClientVisible(1, true);
- EXPECT_TRUE(gl_->AnyClientsVisible());
- gl_->SetClientVisible(0, false);
- EXPECT_TRUE(gl_->AnyClientsVisible());
- gl_->SetClientVisible(1, false);
- EXPECT_FALSE(gl_->AnyClientsVisible());
-}
-
#include "base/macros.h"
#include "gpu/command_buffer/client/gles2_implementation_unittest_autogen.h"

Powered by Google App Engine
This is Rietveld 408576698