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

Issue 1430353002: cc::Fix computation of surface backfacing-ness when using property trees (Closed)

Created:
5 years, 1 month ago by jaydasika
Modified:
5 years, 1 month ago
Reviewers:
ajuma
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::Fix computation of surface backfacing-ness when using property trees Property trees currently use the owning layer's draw transform to compute the render surface's backfacing-ness. This computation is flawed as the owning layer's draw transform computed using property trees has only the sublayer scale and not the transform to target. So, we should use the surface's draw transform instead. This change also fixes the unit test, LayerTreeHostCommonTest.DoNotIncludeBackfaceInvisibleSurfaces when we enable impl-thread property trees. BUG=551629 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/5aa88b8d81780575ce87eebe36ec3c11e103505c Cr-Commit-Position: refs/heads/master@{#358736}

Patch Set 1 #

Patch Set 2 : #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
M cc/trees/layer_tree_host_common.cc View 3 chunks +13 lines, -8 lines 6 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
jaydasika
https://codereview.chromium.org/1430353002/diff/20001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/1430353002/diff/20001/cc/trees/layer_tree_host_common.cc#newcode1769 cc/trees/layer_tree_host_common.cc:1769: render_surface->SetDrawTransform(draw_transform); CDP and PT render surface draw transform don't ...
5 years, 1 month ago (2015-11-09 22:56:45 UTC) #2
ajuma
https://codereview.chromium.org/1430353002/diff/20001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/1430353002/diff/20001/cc/trees/layer_tree_host_common.cc#newcode1769 cc/trees/layer_tree_host_common.cc:1769: render_surface->SetDrawTransform(draw_transform); On 2015/11/09 22:56:45, jaydasika wrote: > CDP and ...
5 years, 1 month ago (2015-11-09 23:31:22 UTC) #3
jaydasika
https://codereview.chromium.org/1430353002/diff/20001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/1430353002/diff/20001/cc/trees/layer_tree_host_common.cc#newcode2508 cc/trees/layer_tree_host_common.cc:2508: layer->draw_properties().render_target = nullptr; On 2015/11/09 23:31:21, ajuma (slow till ...
5 years, 1 month ago (2015-11-10 00:06:40 UTC) #4
ajuma
lgtm https://codereview.chromium.org/1430353002/diff/20001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/1430353002/diff/20001/cc/trees/layer_tree_host_common.cc#newcode1766 cc/trees/layer_tree_host_common.cc:1766: gfx::Transform draw_transform = combined_transform; Please add a comment ...
5 years, 1 month ago (2015-11-10 00:17:15 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1430353002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1430353002/20001
5 years, 1 month ago (2015-11-10 00:50:01 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-10 01:48:13 UTC) #8
commit-bot: I haz the power
5 years, 1 month ago (2015-11-10 01:50:12 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5aa88b8d81780575ce87eebe36ec3c11e103505c
Cr-Commit-Position: refs/heads/master@{#358736}

Powered by Google App Engine
This is Rietveld 408576698