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

Issue 2814273003: cc: Make DamageTracker use the effect tree and layer list (Closed)

Created:
3 years, 8 months ago by ajuma
Modified:
3 years, 8 months ago
Reviewers:
jaydasika, weiliangc
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Make DamageTracker use the effect tree and layer list This makes DamageTracker use the effect tree and layer list rather than traversing the render surface layer list. The ordering requirements that we need to maintain are: 1) Each render surface's damage must be computed before its target's damage can be computed. 2) When accumulating the damage for a render surface, contributing layers and surfaces must be visited in draw order, since a contributing surface with a background filter expands damage from contributors behind it (before it in draw order) but not from contributors after it. We do this by visiting the top-level layer list in draw order, adding the damage for each layer to its target's accumulated damage. Whenever all of a surface's contributors have been visited (this can be determined using the effect tree and each layer's effect tree index), the surface's damage is computed and then added to its own target's accumulated damage. BUG=611883 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2814273003 Cr-Commit-Position: refs/heads/master@{#465339} Committed: https://chromium.googlesource.com/chromium/src/+/9c92fa02ca4c58cf5338ac0c7d59cdd3cf22ed13

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -196 lines) Patch
M cc/layers/effect_tree_layer_list_iterator.cc View 2 chunks +3 lines, -16 lines 0 comments Download
M cc/trees/damage_tracker.h View 4 chunks +13 lines, -17 lines 0 comments Download
M cc/trees/damage_tracker.cc View 13 chunks +115 lines, -82 lines 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 7 chunks +17 lines, -56 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 chunks +6 lines, -22 lines 0 comments Download
M cc/trees/property_tree.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/property_tree.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (15 generated)
ajuma
3 years, 8 months ago (2017-04-13 21:37:40 UTC) #6
jaydasika
lgtm
3 years, 8 months ago (2017-04-14 23:19:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2814273003/20001
3 years, 8 months ago (2017-04-18 19:48:32 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 19:53:26 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/9c92fa02ca4c58cf5338ac0c7d59...

Powered by Google App Engine
This is Rietveld 408576698