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

Issue 2102203003: Color: Plumb color profile from ui::Compositor to cc::DirectRenderer (Closed)

Created:
4 years, 5 months ago by ccameron
Modified:
4 years, 5 months ago
Reviewers:
Yaron, Nico, boliu, enne (OOO), sky
CC:
chromium-reviews, rjkroege, Ian Vollick, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, danakj+watch_chromium.org, hubbe
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Color: Plumb color profile from ui::Compositor to cc::DirectRenderer The color profile will originate in content::RenderWidgetHostViewMac on Mac and aura::WindowTreeHost on Aura, and will need to be consumed in the cc::GLRenderer in a shader and in the content::GpuSurfacelessBrowserCompositorOutputSurface. Both of these originating structures have a ui::Compositor. This follows the same plumbing paths as device scale factor and surface size. BUG=622133 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/3d74bb9bdfc7ceadf52e08d7a4f4ba987a655a76 Cr-Commit-Position: refs/heads/master@{#403296}

Patch Set 1 #

Patch Set 2 : Already had to rebase #

Patch Set 3 : Fix test compile #

Patch Set 4 : Fix ozone build #

Total comments: 2

Patch Set 5 : Move out of header #

Patch Set 6 : Rebase on top of s/ColorProfile/ColorSpace/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -177 lines) Patch
M android_webview/browser/parent_output_surface.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/parent_output_surface.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ash/sysui/stub_context_factory.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ash/sysui/stub_context_factory.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M cc/output/delegating_renderer.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/delegating_renderer.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/direct_renderer.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/direct_renderer.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 2 3 4 5 35 chunks +50 lines, -143 lines 0 comments Download
M cc/output/output_surface.h View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M cc/output/output_surface.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/overlay_unittest.cc View 1 2 3 4 5 6 chunks +9 lines, -5 lines 0 comments Download
M cc/output/renderer.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M cc/output/renderer_pixeltest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M cc/output/software_renderer_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -5 lines 0 comments Download
M cc/surfaces/display.h View 1 2 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download
M cc/surfaces/display.cc View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download
M cc/test/pixel_test.cc View 1 2 3 4 5 1 chunk +2 lines, -4 lines 0 comments Download
M cc/test/pixel_test_output_surface.h View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M cc/test/pixel_test_output_surface.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M components/mus/surfaces/direct_output_surface_ozone.h View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M components/mus/surfaces/direct_output_surface_ozone.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.h View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download
M content/browser/compositor/offscreen_browser_compositor_output_surface.h View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/compositor/offscreen_browser_compositor_output_surface.cc View 1 2 3 4 5 1 chunk +5 lines, -3 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.cc View 1 2 3 4 5 1 chunk +5 lines, -3 lines 0 comments Download
M ui/compositor/compositor.h View 1 2 3 4 5 3 chunks +8 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/mus/surface_context_factory.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 28 (13 generated)
ccameron
This has no effect, but would get the data we want from where it is ...
4 years, 5 months ago (2016-06-29 01:24:10 UTC) #5
ccameron
4 years, 5 months ago (2016-06-29 01:32:24 UTC) #6
enne (OOO)
The plumbing looks fine to me in general. I'm not totally sure that I understand ...
4 years, 5 months ago (2016-06-29 18:35:33 UTC) #7
ccameron
On 2016/06/29 18:35:33, enne wrote: > The plumbing looks fine to me in general. > ...
4 years, 5 months ago (2016-06-29 18:40:11 UTC) #8
enne (OOO)
Ok! lgtm
4 years, 5 months ago (2016-06-29 18:48:16 UTC) #9
ccameron
[updated the patch description to cover the Aura and Mac paths] Adding OWNERs: - sky@ ...
4 years, 5 months ago (2016-06-29 19:05:23 UTC) #14
boliu
On 2016/06/29 19:05:23, ccameron wrote: > [updated the patch description to cover the Aura and ...
4 years, 5 months ago (2016-06-29 20:08:11 UTC) #15
sky
LGTM with following fixed. https://codereview.chromium.org/2102203003/diff/80001/ash/sysui/stub_context_factory.h File ash/sysui/stub_context_factory.h (right): https://codereview.chromium.org/2102203003/diff/80001/ash/sysui/stub_context_factory.h#newcode44 ash/sysui/stub_context_factory.h:44: void SetDisplayColorProfile(ui::Compositor* compositor, Don't inline ...
4 years, 5 months ago (2016-06-29 21:49:05 UTC) #16
ccameron
Thanks! updated. just need content/ OWNER now https://codereview.chromium.org/2102203003/diff/80001/ash/sysui/stub_context_factory.h File ash/sysui/stub_context_factory.h (right): https://codereview.chromium.org/2102203003/diff/80001/ash/sysui/stub_context_factory.h#newcode44 ash/sysui/stub_context_factory.h:44: void SetDisplayColorProfile(ui::Compositor* ...
4 years, 5 months ago (2016-06-29 23:51:52 UTC) #17
ccameron
Adding yfriedman@ for OWNER stamp of content/renderer/android.
4 years, 5 months ago (2016-06-30 01:34:38 UTC) #19
Yaron
lgtm
4 years, 5 months ago (2016-06-30 13:21:41 UTC) #20
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/2102203003/120001
4 years, 5 months ago (2016-06-30 20:46:26 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 5 months ago (2016-06-30 21:36:03 UTC) #25
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 21:36:09 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 21:38:12 UTC) #28
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3d74bb9bdfc7ceadf52e08d7a4f4ba987a655a76
Cr-Commit-Position: refs/heads/master@{#403296}

Powered by Google App Engine
This is Rietveld 408576698