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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2742743003: Delete RenderPassSink (Closed)
Patch Set: Rename AppendRenderPasses to CreateRenderPass Created 3 years, 9 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/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index ac4fd718574ea556dce7f456e7e726f38106bdec..8e1d251e93b6a3b03942c90e04fa02b5e6b8884f 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -837,7 +837,7 @@ DrawResult LayerTreeHostImpl::CalculateRenderPasses(FrameData* frame) {
render_surface->contributes_to_drawn_surface() ||
render_surface->HasCopyRequest();
if (should_draw_into_render_pass)
- render_surface->AppendRenderPasses(frame);
+ frame->AppendRenderPass(render_surface->CreateRenderPass());
danakj 2017/03/14 15:14:35 just push the new render pass onto frame->render_p
}
// Damage rects for non-root passes aren't meaningful, so set them to be
« cc/layers/render_surface_unittest.cc ('K') | « cc/layers/render_surface_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698