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

Unified Diff: cc/quads/render_pass_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/quads/render_pass_unittest.cc
diff --git a/cc/quads/render_pass_unittest.cc b/cc/quads/render_pass_unittest.cc
index 0b132f53656b0d58c0e5a9870b8cc577c50893eb..2def2d3f6d71e355b7d8ac6f004baa9597f12e1b 100644
--- a/cc/quads/render_pass_unittest.cc
+++ b/cc/quads/render_pass_unittest.cc
@@ -83,7 +83,7 @@ TEST(RenderPassTest, CopyShouldBeIdenticalExceptIdAndQuads) {
std::unique_ptr<RenderPass> pass = RenderPass::Create();
pass->SetAll(render_pass_id, output_rect, damage_rect, transform_to_root,
filters, background_filters, color_space,
- has_transparent_background);
+ has_transparent_background, false, false);
pass->copy_requests.push_back(CopyOutputRequest::CreateEmptyRequest());
// Stick a quad in the pass, this should not get copied.
@@ -132,7 +132,8 @@ TEST(RenderPassTest, CopyAllShouldBeIdentical) {
std::unique_ptr<RenderPass> pass = RenderPass::Create();
pass->SetAll(id, output_rect, damage_rect, transform_to_root, filters,
- background_filters, color_space, has_transparent_background);
+ background_filters, color_space, has_transparent_background,
+ false, false);
// Two quads using one shared state.
SharedQuadState* shared_state1 = pass->CreateAndAppendSharedQuadState();
@@ -185,7 +186,7 @@ TEST(RenderPassTest, CopyAllShouldBeIdentical) {
contrib->SetAll(contrib_id, contrib_output_rect, contrib_damage_rect,
contrib_transform_to_root, contrib_filters,
contrib_background_filters, contrib_color_space,
- contrib_has_transparent_background);
+ contrib_has_transparent_background, false, false);
SharedQuadState* contrib_shared_state =
contrib->CreateAndAppendSharedQuadState();
@@ -233,7 +234,8 @@ TEST(RenderPassTest, CopyAllWithCulledQuads) {
std::unique_ptr<RenderPass> pass = RenderPass::Create();
pass->SetAll(id, output_rect, damage_rect, transform_to_root, filters,
- background_filters, color_space, has_transparent_background);
+ background_filters, color_space, has_transparent_background,
+ false, false);
// A shared state with a quad.
SharedQuadState* shared_state1 = pass->CreateAndAppendSharedQuadState();

Powered by Google App Engine
This is Rietveld 408576698