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

Issue 1172883004: Don't aggregate quads outside of damage rect when using partial swap. (Closed)

Created:
5 years, 6 months ago by jbauman
Modified:
5 years, 5 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@predamage
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't aggregate quads outside of damage rect when using partial swap. The quads will be scissored out, so aggregating them is a waste. For me on a webpage with a tiny spinner this reduces DisplayScheduler::OnBeginFrameDeadline time by around 30%, and reduces the GPU process CPU time by around 50%. BUG=490447 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/826aae36bc7da8a39f9b5eebefe9e51c59a63cfd Cr-Commit-Position: refs/heads/master@{#338619}

Patch Set 1 #

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -58 lines) Patch
M cc/surfaces/display.cc View 1 chunk +6 lines, -1 line 0 comments Download
M cc/surfaces/surface_aggregator.h View 1 2 3 4 5 chunks +16 lines, -6 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 2 3 4 13 chunks +82 lines, -30 lines 0 comments Download
M cc/surfaces/surface_aggregator_perftest.cc View 1 4 chunks +49 lines, -7 lines 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 2 6 chunks +203 lines, -11 lines 0 comments Download
M cc/surfaces/surfaces_pixeltest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 11 (3 generated)
jbauman
Depends on https://codereview.chromium.org/1143403003/
5 years, 6 months ago (2015-06-10 01:39:52 UTC) #2
danakj
https://codereview.chromium.org/1172883004/diff/20001/cc/surfaces/surface_aggregator.cc File cc/surfaces/surface_aggregator.cc (right): https://codereview.chromium.org/1172883004/diff/20001/cc/surfaces/surface_aggregator.cc#newcode309 cc/surfaces/surface_aggregator.cc:309: if (!quad_to_root_transform.GetInverse(&inverse_transform)) i don't think compositor is supposed to ...
5 years, 5 months ago (2015-07-07 20:53:53 UTC) #3
jbauman
PTAL. On 2015/07/07 20:53:53, danakj wrote: > https://codereview.chromium.org/1172883004/diff/20001/cc/surfaces/surface_aggregator.cc > File cc/surfaces/surface_aggregator.cc (right): > > https://codereview.chromium.org/1172883004/diff/20001/cc/surfaces/surface_aggregator.cc#newcode309 ...
5 years, 5 months ago (2015-07-08 23:29:15 UTC) #4
danakj
On Wed, Jul 8, 2015 at 4:29 PM, <jbauman@chromium.org> wrote: > PTAL. > > On ...
5 years, 5 months ago (2015-07-13 18:48:55 UTC) #5
danakj
LGTM but I'd really like to see the per-frame data in a on-the-stack struct in ...
5 years, 5 months ago (2015-07-13 20:15:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1172883004/80001
5 years, 5 months ago (2015-07-14 01:17:09 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 5 months ago (2015-07-14 01:55:29 UTC) #10
commit-bot: I haz the power
5 years, 5 months ago (2015-07-14 01:56:28 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/826aae36bc7da8a39f9b5eebefe9e51c59a63cfd
Cr-Commit-Position: refs/heads/master@{#338619}

Powered by Google App Engine
This is Rietveld 408576698