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

Issue 995953002: cc: Fix screen-space transform flattening in CalcDrawProps (Closed)

Created:
5 years, 9 months ago by ajuma
Modified:
5 years, 9 months ago
Reviewers:
Ian Vollick, enne (OOO)
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: Fix screen-space transform flattening in CalcDrawProps When computing a layer's screen-space transform, CalcDrawProps currently flattens the target-to-screen-space transform used only if the layer itself flattens transforms. However, a layer's should_flatten_transform property is intended to affect flattening seen by descendants, not flattening seen by the layer itself. Since render surfaces act as a flattening point for their subtree, this CL makes CalcDrawProps always flatten the full_hierarchy_matrix passed by render surfaces to their children. Committed: https://crrev.com/246190a883072e68382dd03b424697bca84580ce Cr-Commit-Position: refs/heads/master@{#320144}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix Windows build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -2 lines) Patch
M cc/trees/layer_tree_host_common.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 1 chunk +68 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
ajuma
I'm also working on fixing up flattening in property trees, but split this off into ...
5 years, 9 months ago (2015-03-10 20:29:30 UTC) #2
enne (OOO)
lgtm
5 years, 9 months ago (2015-03-11 20:05:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/995953002/20001
5 years, 9 months ago (2015-03-11 20:05:40 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-11 20:56:14 UTC) #6
commit-bot: I haz the power
5 years, 9 months ago (2015-03-11 20:56:41 UTC) #7
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/246190a883072e68382dd03b424697bca84580ce
Cr-Commit-Position: refs/heads/master@{#320144}

Powered by Google App Engine
This is Rietveld 408576698