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
6 files changed