commit | c0bf9e93f7c68d7305c1d3407311f14a77923ca1 | [log] [tgz] |
---|---|---|
author | Michael Tang <tangm@microsoft.com> | Tue Jan 17 22:59:07 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 17 22:59:07 2023 |
tree | 446890ef976d70da0026943e3f3169b04834880a | |
parent | 49d1cf15bf2e9c25c46033fa78ea07e92083ceae [diff] |
viz: Fix overdraw feedback on OutputDevices that use RGBX/BGRX Overdraw feedback uses `SkOverdrawColorFilter`, which relies on a buffer with an alpha channel to work. We previously allocated the buffer for overdraw feedback with the color type set on the `OutputSurface::Capabilities` by the output device. When the desired buffer format is RGBX or BGRX, we can end up with a color type with no alpha channel. This CL forces the overdraw target to allocate with an alpha channel, regardless of the root surface color type. Bug: 1408023 Change-Id: I8a0ccba36a148acfe4bdf3b94b6b57a98d00cf5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4166378 Commit-Queue: Michael Tang <tangm@microsoft.com> Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/main@{#1093556}
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.