commit | 671f91154dc8d939bdd25c9b96d0f45a9d6f2e6f | [log] [tgz] |
---|---|---|
author | Khushal <khushalsagar@chromium.org> | Wed Mar 13 21:09:56 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Mar 13 21:09:56 2019 |
tree | b217ef7b7512f588d1fcf7f9bdfd6ec0f655e193 | |
parent | 4484e454d662d71641761f9fc8552ffe0b3695d9 [diff] |
Surface Control: Set display and crop rects correctly for overlays. The framework does not handle display bounds at a negative offset and simply snaps them to [0,0]. This was resulting in the complete buffer getting scaled down to the visible rect size for the overlay. Avoid that by computing the correct source crop based on the visible subset of the overlay and adjusting the overlay's uv_rect and display_rect accordingly. R=enne@chromium.org Bug: 941278 Change-Id: If911fc4a6fd087aca2fa285e1499380e7c27331e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1517159 Reviewed-by: Robert Kroeger <rjkroege@chromium.org> Reviewed-by: enne <enne@chromium.org> Commit-Queue: Khushal <khushalsagar@chromium.org> Auto-Submit: Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/heads/master@{#640489}
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 .