commit | 1bcbf25bcf578aa91cf1371c5a15d59a93367fd0 | [log] [tgz] |
---|---|---|
author | Mohsen Izadi <mohsen@chromium.org> | Thu Jun 27 01:26:29 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 27 01:26:29 2019 |
tree | 04c1778f4328d01a3d2dd9de92a10c51a35e80f0 | |
parent | 32c72079e7555550a411b525c528aa480d7dad9d [diff] |
Add cc::MirrorLayer[Impl] This new type of layer can be used to mirror contents of another layer. When a mirror layer is set to mirror another layer, the latter is forced to create a render pass so that the former can add a RenderPassDrawQuad referring to that render pass, mirroring its contents. Note that this CL does not add damage rect handling for the mirror layer. That would be done in a follow-up CL. The first use case for the mirror layer would be creating docked magnifier on CrOS. The current implementation of docked magnifier does not work with OOP-D. BUG=947565 Change-Id: I1609edf53eb8c1ae8faff5345ee41dc547a916a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1652202 Reviewed-by: enne <enne@chromium.org> Commit-Queue: Mohsen Izadi <mohsen@chromium.org> Cr-Commit-Position: refs/heads/master@{#672744}
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 .