0
Files
src/ui
Christopher Cameron bfc79fcc8f 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}
2025-05-02 10:13:24 -07:00
..
2025-03-25 07:56:27 -07:00
2025-04-22 12:24:10 -07:00

This directory contains UI frameworks used to build various user interface features. This directory is not intended to contain UI features (such as a keyboard).