commit | bfc79fcc8f8dc3bd545fae080f2e1504bfe43b7b | [log] [tgz] |
---|---|---|
author | Christopher Cameron <ccameron@chromium.org> | Fri May 02 17:13:24 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 02 17:13:24 2025 |
tree | 1422fa086cd45c6b0fb609b45619689811d7b04e | |
parent | d8ae970e52d8fec8623cb7d0a440b600235b587b [diff] |
Agtm: Add PNG and canvas metadata plumbing, add feature flag Add plumbing for Agtm HDR metadata for PNG images using the private (not standardized) chunk agTm to store the metadata. Add plumbing for Agtm HDR metadata for canvas by adding it as a parameter to CanvasHighDynamicRangeOptions. Note that that structure is entirely behind the CanvasHDR runtime feature (which is experimental). In order to ensure that Agtm videos, canvases, and image bitmaps don't get promoted to overlays on any platform (regardless of the platform's overlay processor), veto in DisplayResourceProvider::IsOverlayCandidate any resources that have Agtm metadata. Hopefully the overlay processors will come to share more code in the future. Add a feature flag controlling whether Agtm metadata is ignored or not. Bug: 395659818 Change-Id: Ibe08244ffadefcd02102da2705ad5cef3b8281c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6508789 Reviewed-by: Vladimir Levin <vmpstr@chromium.org> Reviewed-by: ccameron chromium <ccameron@chromium.org> Commit-Queue: ccameron chromium <ccameron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1455052}
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.