DescriptionDisplay: set color_depth and depth_per_component value based on kEnableHDROutput
This is also update the aura code creating the ScreenInfo to use the
value reported by display::Display instead of hardcoding it as
display::Display was doing the same thing. It is more consistent too as
the Mac implementation was already doing this.
This is also moving the kEnableHDROutput from ui/base/ to ui/display/
because ui/display/ can't depend on ui/base/ and it only moves the
dependency of ui/compositor/ from ui/base/ to ui/display/.
In the future, we should set the values on display::Display instead of
hardcoding too values.
Intent to Ship:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/c-b866DUg10/MxS1WTWfBgAJ
BUG=701466
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2742383006
Cr-Commit-Position: refs/heads/master@{#459288}
Committed: https://chromium.googlesource.com/chromium/src/+/7c149655e1546c3bb4478f4dca931e5ad35d4073
Patch Set 1 #Patch Set 2 : fix content_browsertests compile #Patch Set 3 : blaH #Patch Set 4 : rebase #Patch Set 5 : fix more compile issues #Patch Set 6 : rebase #Patch Set 7 : rebase #Messages
Total messages: 59 (43 generated)
|