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

Unified Diff: cc/trees/layer_tree_host_unittest.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/surface_hittest_test_helpers.cc ('k') | components/exo/surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest.cc
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
index 9384e8aff06d2fa0fb84ccfbd1e84f8311fdce06..bb9a253911bc3fdb6cbd984f8f4c89a1e1095dd3 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -6969,14 +6969,16 @@ class LayerTreeHostTestSubmitFrameResources : public LayerTreeHostTest {
DrawResult draw_result) override {
frame->render_passes.clear();
- RenderPass* child_pass = AddRenderPass(
- &frame->render_passes, 2, gfx::Rect(3, 3, 10, 10), gfx::Transform());
+ RenderPass* child_pass =
+ AddRenderPass(&frame->render_passes, 2, gfx::Rect(3, 3, 10, 10),
+ gfx::Transform(), FilterOperations());
gpu::SyncToken mailbox_sync_token;
AddOneOfEveryQuadType(child_pass, host_impl->resource_provider(), 0,
&mailbox_sync_token);
- RenderPass* pass = AddRenderPass(&frame->render_passes, 1,
- gfx::Rect(3, 3, 10, 10), gfx::Transform());
+ RenderPass* pass =
+ AddRenderPass(&frame->render_passes, 1, gfx::Rect(3, 3, 10, 10),
+ gfx::Transform(), FilterOperations());
AddOneOfEveryQuadType(pass, host_impl->resource_provider(), child_pass->id,
&mailbox_sync_token);
return draw_result;
« no previous file with comments | « cc/test/surface_hittest_test_helpers.cc ('k') | components/exo/surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698