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

Issue 2211113002: cc: Compute draw transforms correctly when non root surfaces disabled (Closed)

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

Description

cc: Compute draw transforms correctly when non root surfaces disabled If non root surfaces are disabled, we do not clean the target ids of transform nodes. It does not make sense to treat transforms from the node to its target as draw transforms in this case. This CL on one hand makes DrawTransform combine the transforms between node to its true render target, on the other hand forces the property tree to return screen space transforms as draw transforms if non root surfaces are disabled. BUG=624120 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/371b0a33409ef84a0d50276839bdb3fe35ac20ee Cr-Commit-Position: refs/heads/master@{#410090}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Caller of DrawTransform does not need to consider non root sufaces conditions. #

Patch Set 3 : ToTarget is called with a valid effect id. #

Total comments: 8

Patch Set 4 : Resolve comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -19 lines) Patch
M cc/trees/draw_property_utils.cc View 1 4 chunks +11 lines, -14 lines 0 comments Download
M cc/trees/property_tree.cc View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
sunxd
4 years, 4 months ago (2016-08-04 18:58:50 UTC) #5
ajuma
https://codereview.chromium.org/2211113002/diff/1/cc/trees/draw_property_utils.cc File cc/trees/draw_property_utils.cc (right): https://codereview.chromium.org/2211113002/diff/1/cc/trees/draw_property_utils.cc#newcode1447 cc/trees/draw_property_utils.cc:1447: if (property_trees->non_root_surfaces_enabled) { Do we still need this branch ...
4 years, 4 months ago (2016-08-04 19:58:30 UTC) #8
sunxd
https://codereview.chromium.org/2211113002/diff/1/cc/trees/draw_property_utils.cc File cc/trees/draw_property_utils.cc (right): https://codereview.chromium.org/2211113002/diff/1/cc/trees/draw_property_utils.cc#newcode1447 cc/trees/draw_property_utils.cc:1447: if (property_trees->non_root_surfaces_enabled) { On 2016/08/04 19:58:30, ajuma (slow till ...
4 years, 4 months ago (2016-08-04 21:27:23 UTC) #9
ajuma
Thanks, lgtm
4 years, 4 months ago (2016-08-04 21:31:52 UTC) #10
sunxd
On 2016/08/04 21:27:23, sunxd wrote: > https://codereview.chromium.org/2211113002/diff/1/cc/trees/draw_property_utils.cc > File cc/trees/draw_property_utils.cc (right): > > https://codereview.chromium.org/2211113002/diff/1/cc/trees/draw_property_utils.cc#newcode1447 > ...
4 years, 4 months ago (2016-08-04 21:37:52 UTC) #11
sunxd
4 years, 4 months ago (2016-08-04 22:28:35 UTC) #13
ajuma
https://codereview.chromium.org/2211113002/diff/40001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2211113002/diff/40001/cc/trees/property_tree.cc#newcode1804 cc/trees/property_tree.cc:1804: if (node && node->id != transform_tree.kRootNodeId) Is |node| ever ...
4 years, 4 months ago (2016-08-04 22:55:58 UTC) #15
sunxd
https://codereview.chromium.org/2211113002/diff/40001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2211113002/diff/40001/cc/trees/property_tree.cc#newcode1804 cc/trees/property_tree.cc:1804: if (node && node->id != transform_tree.kRootNodeId) On 2016/08/04 22:55:58, ...
4 years, 4 months ago (2016-08-05 15:40:43 UTC) #19
ajuma
Thanks! lgtm
4 years, 4 months ago (2016-08-05 16:49:50 UTC) #23
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/2211113002/60001
4 years, 4 months ago (2016-08-05 17:20:59 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-05 17:24:53 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 17:28:20 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/371b0a33409ef84a0d50276839bdb3fe35ac20ee
Cr-Commit-Position: refs/heads/master@{#410090}

Powered by Google App Engine
This is Rietveld 408576698