commit | 704d25d02c6a18f355ba3914b7c81b29994fe0ad | [log] [tgz] |
---|---|---|
author | Sunny Sachanandani <sunnyps@chromium.org> | Thu Apr 18 19:04:16 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 18 19:04:16 2019 |
tree | 883f8e73754b33463e55c232b2bed5d39ad32e50 | |
parent | 62fc7486bb0654358d6be6c6a6ab51ffccf82f63 [diff] |
Plumbing for HDR10 color space surfaces Add support for setting GLSurface color space to HDR10 which is BT 2020 primaries with SMPTE ST 2084 (PQ) transfer function. Cleanup color space conversion between gfx::ColorSpace and GL / GLSurface enums. This CL doesn't change any behavior. It's intended to pave the way for using RGB10A2 surfaces with HDR10 color space in an upcoming CL: https://chromium-review.googlesource.com/c/chromium/src/+/1565631/ Bug: 937108 Change-Id: I4fbc31c7e8ff322427013ab7572afc4e8fa9e5b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1573172 Reviewed-by: Antoine Labour <piman@chromium.org> Reviewed-by: ccameron <ccameron@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#652247} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: e36d10c6d21fa795d30ed0e38f3d681c0b785a25