commit | 3f6f331114d2cfd7237f7359d152ca2783fa5e66 | [log] [tgz] |
---|---|---|
author | Jean-Philippe Gravel <jpgravel@chromium.org> | Thu Jan 19 21:10:33 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 19 21:10:33 2023 |
tree | 2a77e08211affe615d30c48a12f3389e5a1a3afe | |
parent | b43d165f85cea210c46008bd932eb09eba86ed59 [diff] |
Update PaintCanvas::saveLayerAlpha to accept floats. `saveLayerAlpha` was converting the alpha to float in any case, but accepting `uint8_t` meant that callers already having float alphas had to cast them to int, dropping numerical precision. Change-Id: Idd37357d193c5f044cffb524d9cbc6f085b3f13e Bug: 1399566, 1407289 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4175373 Reviewed-by: danakj <danakj@chromium.org> Reviewed-by: Keren Zhu <kerenzhu@chromium.org> Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org> Reviewed-by: Vladimir Levin <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1094643}
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.