commit | 1ff8cf385f4ce2ab4d8e7331a684e602a5b4ae24 | [log] [tgz] |
---|---|---|
author | Xianzhu Wang <[email protected]> | Mon Aug 19 17:33:10 2019 |
committer | Commit Bot <[email protected]> | Mon Aug 19 17:33:10 2019 |
tree | afcbe33a368b6e6d64090fb8c04ed61dfa92c29f | |
parent | 25797c4b544f45114e9be62c5d564df60b9ce91d [diff] |
Avoid using pre_local/post_local for purposes other than transform origin This is a preparation of replace cc::TransformNode::pre_local and post_local with a simple Point3DF for transform origin. Previously post_local was used in the following cases (other than for transform origin): - root layer: external transform (above root) and device scale factor - page scale layer: for page scale This CL removes the case of - the same layer for root layer and page scale layer, and - custom transform on the root layer, so that we can use cc::Transform::local for external transform and device scale factor in the transform node of the root layer, and for page scale in the transform node of the page scale layer. This is an intermediate step before we switch all impl-side cc unit tests to layer list mode. After that, we no longer need dedicated page scale layer. Bug: 993937 Change-Id: I4b6b0340bd6b2421a2c29844989e3ffef078dcf7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1756712 Commit-Queue: Xianzhu Wang <[email protected]> Reviewed-by: Philip Rogers <[email protected]> Cr-Commit-Position: refs/heads/master@{#688145}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .