commit | c97ba0b8b1aeb124b2d85eae295fda77a1c00b75 | [log] [tgz] |
---|---|---|
author | Jean-Philippe Gravel <jpgravel@chromium.org> | Fri Jan 20 00:03:43 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 20 00:03:43 2023 |
tree | bc77f34241a8c8198eef4bc555ac17f079d62d77 | |
parent | 4cbc6011e4b2e19e6ec7894157ec6c5dca9749ff [diff] |
Implement canvas layers with SaveLayerAlphaOp, where possible. RecordPaintCanvas::saveLayer used to have an optimization to automatically create SaveLayerAlphaOp instead of SaveLayerOp, but this was removed in https://crrev.com/c/4121362. This CL brings back this optimization to the Canvas 2D code base. Change-Id: Ib8137b296174bd53aec1a38b1ddcd97bd2cc35f6 Fixed: 1407289 Bug: 1403037 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4174997 Reviewed-by: Juanmi Huertas <juanmihd@chromium.org> Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1094776}
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.