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

Issue 2632313002: cc: Compute RenderSurfaceImpl's TransformTreeIndex using its effect node (Closed)

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

Description

cc: Compute RenderSurfaceImpl's TransformTreeIndex using its effect node This makes RenderSurfaceImpl::TransformTreeIndex use the surface's effect node rather than its owning layer to find its transform id. For non-root surfaces, the transform id from the effect node matches the id we previously got from the owning layer. For the root surface, the id on the effect node is kRootNodeId (that is, 0) while we previously got kContentsRootNodeId (that is, 1) from the owning layer; returning kRootNodeId makes more sense since the draw transform and screen space transform for the root render surface are defined to be the identity, and don't include the transform from node 1 to node 0. BUG=679837 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2632313002 Cr-Commit-Position: refs/heads/master@{#444060} Committed: https://chromium.googlesource.com/chromium/src/+/695875dd4c75b268f423628eae300a700e156751

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M cc/layers/render_surface_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/draw_property_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/property_tree.cc View 3 chunks +3 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (13 generated)
ajuma
3 years, 11 months ago (2017-01-17 14:16:49 UTC) #11
weiliangc
LGTM
3 years, 11 months ago (2017-01-17 15:42:16 UTC) #12
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/2632313002/20001
3 years, 11 months ago (2017-01-17 15:47:20 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 15:51:36 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/695875dd4c75b268f423628eae30...

Powered by Google App Engine
This is Rietveld 408576698