hdr: Add color space parameter to glResizeCHROMIUM

The color space parameter to cc::OutputSurface::Reshape is not passed
along through to the glResizeCHROMIUM function because, until now, it
was not needed.

To dynamically switch in and out of HDR mode on Windows, we will need
to pass this parameter through to gl::GLSurface::Resize.

Add the argument to the GL function and add appropriate validation.
Pass the argument to gl::GLSurface::Resize, but do nothing with the
parameter.

This patch should have no functional effects.

R=zmo
TBR=hubbe (media/), raymes (ppapi/), bajones (vr_shell/) OWNERs

Bug: 575782
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: Iaeba578d2163ff7c91e15664dfb080258a2c5871
Reviewed-on: https://chromium-review.googlesource.com/583782
Commit-Queue: ccameron chromium <ccameron@chromium.org>
Reviewed-by: ccameron chromium <ccameron@chromium.org>
Reviewed-by: Zhenyao Mo <zmo@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#489554}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 624c11ca026d33fc65e072b4fa638614ddd0ee82
1 file changed