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

Unified Diff: cc/ipc/cc_param_traits_unittest.cc

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Fix for comments in patch 4. Created 3 years, 6 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: cc/ipc/cc_param_traits_unittest.cc
diff --git a/cc/ipc/cc_param_traits_unittest.cc b/cc/ipc/cc_param_traits_unittest.cc
index b22713f88ffed651df83f2c0bdea4288618569d5..2050a699697d0fbec1f0b462e80d7af9480f17b1 100644
--- a/cc/ipc/cc_param_traits_unittest.cc
+++ b/cc/ipc/cc_param_traits_unittest.cc
@@ -301,18 +301,18 @@ TEST_F(CCParamTraitsTest, AllQuads) {
child_pass_in->SetAll(child_id, arbitrary_rect2, arbitrary_rect3,
arbitrary_matrix2, arbitrary_filters1,
arbitrary_filters2, arbitrary_color_space,
- arbitrary_bool2);
+ arbitrary_bool2, arbitrary_bool2, arbitrary_bool2);
std::unique_ptr<RenderPass> child_pass_cmp = RenderPass::Create();
child_pass_cmp->SetAll(child_id, arbitrary_rect2, arbitrary_rect3,
arbitrary_matrix2, arbitrary_filters1,
arbitrary_filters2, arbitrary_color_space,
- arbitrary_bool2);
+ arbitrary_bool2, arbitrary_bool2, arbitrary_bool2);
std::unique_ptr<RenderPass> pass_in = RenderPass::Create();
pass_in->SetAll(root_id, arbitrary_rect1, arbitrary_rect2, arbitrary_matrix1,
arbitrary_filters2, arbitrary_filters1, arbitrary_color_space,
- arbitrary_bool1);
+ arbitrary_bool1, arbitrary_bool2, arbitrary_bool2);
SharedQuadState* shared_state1_in = pass_in->CreateAndAppendSharedQuadState();
shared_state1_in->SetAll(arbitrary_matrix1, arbitrary_rect1, arbitrary_rect1,
@@ -322,7 +322,8 @@ TEST_F(CCParamTraitsTest, AllQuads) {
std::unique_ptr<RenderPass> pass_cmp = RenderPass::Create();
pass_cmp->SetAll(root_id, arbitrary_rect1, arbitrary_rect2, arbitrary_matrix1,
arbitrary_filters2, arbitrary_filters1,
- arbitrary_color_space, arbitrary_bool1);
+ arbitrary_color_space, arbitrary_bool1, arbitrary_bool2,
+ arbitrary_bool2);
SharedQuadState* shared_state1_cmp =
pass_cmp->CreateAndAppendSharedQuadState();
@@ -503,7 +504,7 @@ TEST_F(CCParamTraitsTest, UnusedSharedQuadStates) {
std::unique_ptr<RenderPass> pass_in = RenderPass::Create();
pass_in->SetAll(1, gfx::Rect(100, 100), gfx::Rect(), gfx::Transform(),
FilterOperations(), FilterOperations(),
- gfx::ColorSpace::CreateSRGB(), false);
+ gfx::ColorSpace::CreateSRGB(), false, false, false);
// The first SharedQuadState is used.
SharedQuadState* shared_state1_in = pass_in->CreateAndAppendSharedQuadState();

Powered by Google App Engine
This is Rietveld 408576698