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

Unified Diff: cc/test/surface_aggregator_test_helpers.cc

Issue 2543473004: cc: Move filters from RenderPassDrawQuad to RenderPass (Closed)
Patch Set: Rebase again Created 4 years 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
« no previous file with comments | « cc/test/render_pass_test_utils.cc ('k') | cc/test/surface_hittest_test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/surface_aggregator_test_helpers.cc
diff --git a/cc/test/surface_aggregator_test_helpers.cc b/cc/test/surface_aggregator_test_helpers.cc
index b6874efaa17a46e948175b82c72f219e20fd57fd..40ed168dc394fe20570aff1b222156ede89c8d4a 100644
--- a/cc/test/surface_aggregator_test_helpers.cc
+++ b/cc/test/surface_aggregator_test_helpers.cc
@@ -53,8 +53,7 @@ void AddRenderPassQuad(RenderPass* pass, int render_pass_id) {
RenderPassDrawQuad* quad =
pass->CreateAndAppendDrawQuad<RenderPassDrawQuad>();
quad->SetNew(shared_state, output_rect, output_rect, render_pass_id, 0,
- gfx::Vector2dF(), gfx::Size(), FilterOperations(),
- gfx::Vector2dF(), gfx::PointF(), FilterOperations());
+ gfx::Vector2dF(), gfx::Size(), gfx::Vector2dF(), gfx::PointF());
}
void AddQuadInPass(RenderPass* pass, Quad desc) {
@@ -80,8 +79,8 @@ void AddPasses(RenderPassList* pass_list,
gfx::Transform root_transform;
for (size_t i = 0; i < pass_count; ++i) {
Pass pass = passes[i];
- RenderPass* test_pass =
- AddRenderPass(pass_list, pass.id, output_rect, root_transform);
+ RenderPass* test_pass = AddRenderPass(pass_list, pass.id, output_rect,
+ root_transform, FilterOperations());
for (size_t j = 0; j < pass.quad_count; ++j) {
AddQuadInPass(test_pass, pass.quads[j]);
}
« no previous file with comments | « cc/test/render_pass_test_utils.cc ('k') | cc/test/surface_hittest_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698