commit | 15b0e51aed4f25c73ec5f77f0f76bac46576e62d | [log] [tgz] |
---|---|---|
author | kylechar <kylechar@chromium.org> | Wed Feb 14 15:16:43 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 14 15:16:43 2024 |
tree | 6ebd956d1b611813053cbe76297511746c1ea303 | |
parent | a283deb6e36be4a7532884783f4d39a33a8cf470 [diff] |
Fix RGBA CopyOutRequest return size CopyOutputRequests with ResultDestination::kNativeTexture was using result_bounds instead of result_selection as size returned in CopyOutputResult. Result bounds is not clipped to the result_selection specified in CopyOutputRequest so it's potentially too big. It's possible nothing was relying on using result_selection to crop the output as CopyOutputRequest area can also be used equivalently if there is no scaling involved. Bug: 324934085 Change-Id: Ib95ee1461d5f8741c960405998ed0b80f4c003dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5287317 Reviewed-by: Colin Blundell <blundell@chromium.org> Commit-Queue: Kyle Charbonneau <kylechar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1260456}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.