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

Issue 1624693004: cc:: Add transform nodes at boundaries of 3d rendering contexts (Closed)

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

Description

cc:: Add transform nodes at boundaries of 3d rendering contexts We then store the sorting context id in transform nodes and use it to determine layer and surface backface visibility. This patch also fixes a bug in backface visibility computation when we have nested 3d rendering contexts. BUG=568746, 581570 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/e00c8a4bf6e38da254c9624602b2a74e45853103 Cr-Commit-Position: refs/heads/master@{#372150}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Rebase #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -36 lines) Patch
M cc/proto/property_tree.proto View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/draw_property_utils.cc View 1 2 4 chunks +23 lines, -24 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 2 chunks +34 lines, -11 lines 0 comments Download
M cc/trees/property_tree.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/property_tree.cc View 1 2 4 chunks +4 lines, -0 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 21 (8 generated)
jaydasika
Implemented Ali's suggestion of adding a transform node at 3d rendering context boundaries. Sending it ...
4 years, 11 months ago (2016-01-23 00:38:49 UTC) #3
ajuma
https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc File cc/trees/draw_property_utils.cc (right): https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc#newcode233 cc/trees/draw_property_utils.cc:233: if (node->data.is_3d_sorted && parent_node && parent_node->data.is_3d_sorted) Is this equivalent ...
4 years, 11 months ago (2016-01-25 14:35:22 UTC) #4
weiliangc
https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc File cc/trees/draw_property_utils.cc (right): https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc#newcode233 cc/trees/draw_property_utils.cc:233: if (node->data.is_3d_sorted && parent_node && parent_node->data.is_3d_sorted) On 2016/01/25 at ...
4 years, 11 months ago (2016-01-25 21:29:26 UTC) #5
ajuma
https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc File cc/trees/draw_property_utils.cc (right): https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc#newcode233 cc/trees/draw_property_utils.cc:233: if (node->data.is_3d_sorted && parent_node && parent_node->data.is_3d_sorted) On 2016/01/25 21:29:26, ...
4 years, 11 months ago (2016-01-25 21:53:00 UTC) #6
jaydasika
On 2016/01/25 21:53:00, ajuma wrote: > https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc > File cc/trees/draw_property_utils.cc (right): > > https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc#newcode233 > ...
4 years, 11 months ago (2016-01-25 22:05:36 UTC) #7
jaydasika
https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc File cc/trees/draw_property_utils.cc (right): https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc#newcode233 cc/trees/draw_property_utils.cc:233: if (node->data.is_3d_sorted && parent_node && parent_node->data.is_3d_sorted) On 2016/01/25 21:53:00, ...
4 years, 11 months ago (2016-01-26 00:10:01 UTC) #8
jaydasika
Fixed the backface visibility bug when we have nested 3d rendering contexts. Added test. https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc ...
4 years, 11 months ago (2016-01-27 20:52:37 UTC) #11
jaydasika
After Ali suggested that we should check if addition of transform nodes effects ComputeTransforms performance, ...
4 years, 11 months ago (2016-01-27 21:49:04 UTC) #12
enne (OOO)
I previously measured the expense of transform nodes on an N4 at roughly 0.0015ms per ...
4 years, 11 months ago (2016-01-27 21:55:32 UTC) #13
ajuma
Thanks, lgtm. https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc File cc/trees/draw_property_utils.cc (right): https://codereview.chromium.org/1624693004/diff/1/cc/trees/draw_property_utils.cc#newcode265 cc/trees/draw_property_utils.cc:265: return layer->transform().IsBackFaceVisible(); On 2016/01/27 20:52:37, jaydasika wrote: ...
4 years, 11 months ago (2016-01-28 00:08:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1624693004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1624693004/60001
4 years, 10 months ago (2016-01-28 19:12:55 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-01-28 20:18:43 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 20:19:51 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e00c8a4bf6e38da254c9624602b2a74e45853103
Cr-Commit-Position: refs/heads/master@{#372150}

Powered by Google App Engine
This is Rietveld 408576698