Make color conversion Windows-only
SurfaceAggregator's call to AddColorConversionPass() currently happens on all platforms. But it should be a no-op on every platform except Windows. On other platforms, there is a proper gamma curve. But on Windows it is linear. This results in color values that are outside an acceptable threshold. That is why a color conversion is necessary. The intent was for this to only happen on Windows. This CL matches that intent by explicitly marking that function call as only happening on Windows. Change-Id: I66ebf3b42b84729e6062ff738c25d903aac2dc5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1900286Reviewed-by:ccameron <ccameron@chromium.org> Commit-Queue: Chris Blume <cblume@chromium.org> Cr-Commit-Position: refs/heads/master@{#713664}
Showing
Please register or sign in to comment