|
|
HDR: Do nonlinear blending in the compositor
Specify a color space for blending to the SurfaceAggregator, in addition
to the output color space. If the color space for blending is not the
same as the output color space, then add a separate render pass to
convert from the blending color space to the output color space.
Add a SurfaceAggregator test for this.
This is used by HDR output, because the output is in linear space, while
web content expects to be blended according in sRGB value space.
Add gfx::ColorSpace::CreateExtendedSRGB as the default space in which
to do blending for HDR content.
Change the meaning of the flag kEnableHDROutput to not enable color
aware rasterization, only compositing.
Change the GLRenderer to use half-float textures for render passes that
are output-ing to HDR color spaces. This can't be tested (yet) because
of Mesa limitations.
R=enne
TBR=sky (for mash)
BUG= 687357
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2728173004
Cr-Commit-Position: refs/heads/master@{#455274}
Committed: https://chromium.googlesource.com/chromium/src/+/3f68a49d843d30417077a09ac37bff4491be4e0c
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+241 lines, -66 lines) |
Patch |
 |
M |
cc/output/gl_renderer.cc
|
View
|
1
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/surfaces/display.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/surfaces/display.cc
|
View
|
|
2 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/display_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_aggregator.h
|
View
|
|
3 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_aggregator.cc
|
View
|
|
5 chunks |
+39 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_aggregator_unittest.cc
|
View
|
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/display_compositor/gpu_root_compositor_frame_sink.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_process_transport_factory.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_process_transport_factory.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mash/test/mash_test_suite.cc
|
View
|
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.cc
|
View
|
1
|
3 chunks |
+14 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/test/in_process_context_factory.h
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/color_space.h
|
View
|
1
|
3 chunks |
+17 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/color_space.cc
|
View
|
1
|
4 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gfx/color_space_win.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/color_transform.cc
|
View
|
1
|
8 chunks |
+41 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/color_transform_unittest.cc
|
View
|
1
|
2 chunks |
+51 lines, -7 lines |
0 comments
|
Download
|
Total messages: 25 (16 generated)
|