commit | 69f0ef63b068cf49abe69bf65ed5a19e29a012e3 | [log] [tgz] |
---|---|---|
author | Aaron Krajeski <aaronhk@chromium.org> | Fri Jan 21 17:34:34 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 21 17:34:34 2022 |
tree | c9066f6749a3656f6870db9fe89cc2b58befcbd2 | |
parent | 481e62b09749992b75592c30e0a190eb74fb7851 [diff] |
Reverse logic for willReadFrequently flag With the New Canvas2D API (crbug.com/1201359) there is one instance where we are changing existent behavior. Previously, an accelerated canvas would be turned into a software canvas upon any readback. Now developers have explicit control with the willReadFrequently creation attribute: https://github.com/fserb/canvas2D/blob/master/spec/will-read-frequently.md Now accelerated canvases will remain accelerated on readback. This will result in performance regressions for websites that were relying on the old behavior until they add {willReadFrequently: true} to their context creation. This flag allows us to roll out the feature slowly and measure performance regressions with a finch experiment. It needs to be part of content/public/common/content_switch_dependent_feature_overrides.cc because a couple of tests expect canvas readback to not de-accelerate canvases. Bug: 1288118 Change-Id: I2d051f30b0df617e60df756626ad66e1255f4ec3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3402979 Reviewed-by: Justin Novosad <junov@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: Aaron Krajeski <aaronhk@chromium.org> Commit-Queue: Aaron Krajeski <aaronhk@chromium.org> Cr-Commit-Position: refs/heads/main@{#961951}
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.