Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Issue 2693723002: cc: Move output color space from DrawingFrame to RenderPass (Closed)

Created:
3 years, 10 months ago by ccameron
Modified:
3 years, 10 months ago
Reviewers:
dcheng, enne (OOO)
CC:
Aaron Boodman, abarth-chromium, cc-bugs_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Move output color space from DrawingFrame to RenderPass This assigns a color space to each RenderPass during surface aggregation. For the moment, this just means using the output color space, but in the future it can be used to create a final color conversion render pass for exotic color spaces. The OutputSurface is assigned the color space of the root RenderPass. Add tests to ensure that the color spaces changes are propagated through to the RenderPass and the OutputSurface. BUG=687357 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2693723002 Cr-Commit-Position: refs/heads/master@{#450151} Committed: https://chromium.googlesource.com/chromium/src/+/625dae1ec4772b0842e701d5771b4b08154d0df6

Patch Set 1 #

Patch Set 2 : Fix test compile #

Total comments: 2

Patch Set 3 : Fix typo #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -48 lines) Patch
M cc/ipc/cc_param_traits.cc View 4 chunks +6 lines, -1 line 1 comment Download
M cc/ipc/cc_param_traits_unittest.cc View 6 chunks +14 lines, -8 lines 0 comments Download
M cc/ipc/render_pass.mojom View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/ipc/render_pass_struct_traits.h View 2 chunks +6 lines, -0 lines 0 comments Download
M cc/ipc/render_pass_struct_traits.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/ipc/struct_traits_unittest.cc View 4 chunks +6 lines, -2 lines 0 comments Download
M cc/output/direct_renderer.h View 2 chunks +0 lines, -2 lines 0 comments Download
M cc/output/direct_renderer.cc View 4 chunks +5 lines, -7 lines 0 comments Download
M cc/output/gl_renderer.cc View 6 chunks +7 lines, -6 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M cc/output/overlay_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/output/software_renderer_unittest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M cc/quads/render_pass.h View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
M cc/quads/render_pass.cc View 4 chunks +6 lines, -2 lines 0 comments Download
M cc/quads/render_pass_unittest.cc View 5 chunks +9 lines, -4 lines 0 comments Download
M cc/surfaces/display.cc View 3 chunks +4 lines, -1 line 0 comments Download
M cc/surfaces/display_unittest.cc View 3 chunks +8 lines, -0 lines 0 comments Download
M cc/surfaces/surface_aggregator.h View 3 chunks +6 lines, -0 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 3 chunks +7 lines, -2 lines 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 1 chunk +30 lines, -0 lines 0 comments Download
M cc/test/fake_output_surface.h View 2 chunks +5 lines, -0 lines 0 comments Download
M cc/test/fake_output_surface.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/pixel_test.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ui/gfx/color_space.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (20 generated)
ccameron
ptal -- no functional changes, but it moves things around so that the functional change ...
3 years, 10 months ago (2017-02-13 00:32:15 UTC) #10
enne (OOO)
lgtm https://codereview.chromium.org/2693723002/diff/20001/cc/quads/render_pass.h File cc/quads/render_pass.h (right): https://codereview.chromium.org/2693723002/diff/20001/cc/quads/render_pass.h#newcode125 cc/quads/render_pass.h:125: // The color space into which content will ...
3 years, 10 months ago (2017-02-13 05:07:06 UTC) #13
ccameron
Thanks! Adding dcheng@ for ipc https://codereview.chromium.org/2693723002/diff/20001/cc/quads/render_pass.h File cc/quads/render_pass.h (right): https://codereview.chromium.org/2693723002/diff/20001/cc/quads/render_pass.h#newcode125 cc/quads/render_pass.h:125: // The color space ...
3 years, 10 months ago (2017-02-13 18:15:55 UTC) #15
dcheng
We're now plumbing ColorSpace from the renderer to the gpu right? This seems new: looking ...
3 years, 10 months ago (2017-02-13 22:47:45 UTC) #20
ccameron
On 2017/02/13 22:47:45, dcheng wrote: > We're now plumbing ColorSpace from the renderer to the ...
3 years, 10 months ago (2017-02-13 23:28:54 UTC) #21
dcheng
ipc lgtm
3 years, 10 months ago (2017-02-13 23:32:30 UTC) #22
ccameron
On 2017/02/13 23:28:54, ccameron wrote: > On 2017/02/13 22:47:45, dcheng wrote: > > We're now ...
3 years, 10 months ago (2017-02-13 23:32:44 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2693723002/40001
3 years, 10 months ago (2017-02-13 23:37:40 UTC) #26
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 23:45:27 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/625dae1ec4772b0842e701d5771b...

Powered by Google App Engine
This is Rietveld 408576698