commit | a2a7acf06e257e7c483f18073e8760536669e3df | [log] [tgz] |
---|---|---|
author | Christopher Cameron <ccameron@chromium.org> | Wed Nov 29 06:53:35 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 29 06:53:35 2023 |
tree | 919134ee41ae26ed5b323dba2cb082117fd6e585 | |
parent | ef4ce516ae7fd27c9e0d7c74c73f41ad79365583 [diff] |
Replace vector<display::GammaRampRGBEntry> with display::GammaCurve This should have no functional changes. By using the display::GammaCurve::Sample function we can simplify the code that sends the LUTs that are sent to DRM (resampling directly in place and not having to special case the identity function unless desired). This will also allow us to transparently support parametric transfer functions (which are often specified in display color profiles). This will also allow us to be more intentional about the different gamma curves that will be specified (those for a color profile versus those for adjusting brightness as in the chromecast usage). Bug: 1505062 Change-Id: I860e0e6988591d59c94728c54e3c492778aca966 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5057558 Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Commit-Queue: ccameron chromium <ccameron@chromium.org> Reviewed-by: Sean Topping <seantopping@chromium.org> Cr-Commit-Position: refs/heads/main@{#1230474}
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.