-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support fractional coordinates in DCLayerOverlayParams content_rect
We already support fractional scaling and offsets for the visual content in a DComp subtree. This CL makes it so callers of DCLayerTree can specify non-integral content rects. This is a case that can happen for delegated compositing when cc submits a frame with a tile quad that is both scaled and occluded in such a way that the part of its image that is visible does not fall on exact pixel boundaries. Bug: 1132392 Change-Id: I5a10953e1fc98f9adb9f6940399915de5023b8e0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4646982 Commit-Queue: Michael Tang <tangm@microsoft.com> Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com> Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Cr-Commit-Position: refs/heads/main@{#1187487}
- Loading branch information
1 parent
47a0c79
commit ac2ea7e
Showing
7 changed files
with
199 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.