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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 17335011: cc: Allow output readback/copy requests to specify a sub-rect to copy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copy-subrect: 3 patches in one Created 7 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
« no previous file with comments | « cc/test/solid_color_content_layer_client.cc ('k') | cc/trees/layer_tree_host_pixeltest_filters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fe7589b6472c3c340222c76d83bcb6cab71be5aa..34f32b92f3a1cc686c94082d0ff23605461dd367 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -641,7 +641,8 @@ bool LayerTreeHostImpl::CalculateRenderPasses(FrameData* frame) {
if (it.represents_target_render_surface()) {
if (it->HasCopyRequest()) {
have_copy_request = true;
- it->TakeCopyRequests(&target_render_pass->copy_requests);
+ it->TakeCopyRequestsAndTransformToTarget(
+ &target_render_pass->copy_requests);
}
} else if (it.represents_contributing_render_surface()) {
RenderPass::Id contributing_render_pass_id =
« no previous file with comments | « cc/test/solid_color_content_layer_client.cc ('k') | cc/trees/layer_tree_host_pixeltest_filters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698