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

Issue 614073005: Allow CopyOutputRequests on all render passes of a surface (Closed)

Created:
6 years, 2 months ago by jbauman
Modified:
6 years, 2 months ago
Reviewers:
jamesr
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Allow CopyOutputRequests on all render passes of a surface The browser compositor in content/ currently expects to be able to do copy output requests of arbitrary layers. The surface aggregator should allow ever render pass to contain copy requests, and move them to the aggregated frame. BUG=397730 Committed: https://crrev.com/5e50dfa786102701fd831bd155f5dc1ee224458f Cr-Commit-Position: refs/heads/master@{#299831}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -37 lines) Patch
M cc/surfaces/surface.h View 1 2 3 4 chunks +7 lines, -2 lines 0 comments Download
M cc/surfaces/surface.cc View 1 2 3 4 chunks +31 lines, -16 lines 0 comments Download
M cc/surfaces/surface_aggregator.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 2 3 7 chunks +42 lines, -17 lines 1 comment Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 2 3 1 chunk +88 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
jbauman
This is ugly, but seems to be the only way to get content/ to work ...
6 years, 2 months ago (2014-09-30 22:31:19 UTC) #2
jamesr
Can't you just make an extra surface in content/ for this case? Injecting an additional ...
6 years, 2 months ago (2014-10-03 00:09:57 UTC) #3
jbauman
On 2014/10/03 00:09:57, jamesr wrote: > Can't you just make an extra surface in content/ ...
6 years, 2 months ago (2014-10-03 00:21:39 UTC) #4
jamesr
On 2014/10/03 00:21:39, jbauman wrote: > On 2014/10/03 00:09:57, jamesr wrote: > > Can't you ...
6 years, 2 months ago (2014-10-03 00:24:01 UTC) #5
jamesr
On 2014/10/03 00:21:39, jbauman wrote: > I've modified this patch so it now just generalizes ...
6 years, 2 months ago (2014-10-03 00:29:38 UTC) #6
jbauman
ping
6 years, 2 months ago (2014-10-14 02:17:22 UTC) #7
jamesr
sorry, slipped off my radar https://codereview.chromium.org/614073005/diff/40001/cc/surfaces/surface.h File cc/surfaces/surface.h (right): https://codereview.chromium.org/614073005/diff/40001/cc/surfaces/surface.h#newcode45 cc/surfaces/surface.h:45: ScopedPtrVector<ScopedPtrVector<CopyOutputRequest>>* copy_requests); why's this ...
6 years, 2 months ago (2014-10-15 03:21:39 UTC) #8
jbauman
On 2014/10/15 03:21:39, jamesr wrote: > sorry, slipped off my radar > > https://codereview.chromium.org/614073005/diff/40001/cc/surfaces/surface.h > ...
6 years, 2 months ago (2014-10-15 23:40:08 UTC) #9
jamesr
https://codereview.chromium.org/614073005/diff/60001/cc/surfaces/surface_aggregator.cc File cc/surfaces/surface_aggregator.cc (right): https://codereview.chromium.org/614073005/diff/60001/cc/surfaces/surface_aggregator.cc#newcode219 cc/surfaces/surface_aggregator.cc:219: MoveMatchingRequests(source.id, &copy_requests, &copy_pass->copy_requests); the RenderPassIds in copy_requests will be ...
6 years, 2 months ago (2014-10-15 23:51:24 UTC) #10
jbauman
On 2014/10/15 23:51:24, jamesr wrote: > https://codereview.chromium.org/614073005/diff/60001/cc/surfaces/surface_aggregator.cc > File cc/surfaces/surface_aggregator.cc (right): > > https://codereview.chromium.org/614073005/diff/60001/cc/surfaces/surface_aggregator.cc#newcode219 > ...
6 years, 2 months ago (2014-10-16 00:02:06 UTC) #11
jamesr
Right, of course. They're copied to the actual pass. lgtm
6 years, 2 months ago (2014-10-16 00:04:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/614073005/60001
6 years, 2 months ago (2014-10-16 00:21:45 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 2 months ago (2014-10-16 03:21:47 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 03:22:24 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5e50dfa786102701fd831bd155f5dc1ee224458f
Cr-Commit-Position: refs/heads/master@{#299831}

Powered by Google App Engine
This is Rietveld 408576698