|
Display: 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
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+99 lines, -25 lines) |
Patch |
|
M |
content/browser/gpu/gpu_process_host.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/media/media_canplaytype_browsertest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_view_host_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_view_aura.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_view_aura_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+40 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/render_media_client.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/ipc/service/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/ipc/service/DEPS
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/ipc/service/child_window_surface_win.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
gpu/ipc/service/direct_composition_surface_win.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/gpu/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/gpu/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/gpu/dxva_video_decode_accelerator_win.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/base/ui_base_switches.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/base/ui_base_switches.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/compositor/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/compositor/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/compositor/compositor.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/display/display.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/display/display_switches.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/display/display_switches.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/display/display_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+22 lines, -3 lines |
0 comments
|
Download
|
Total messages: 59 (43 generated)
|