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

Issue 2307083003: Send the ICC profile to the compositor under aura. (Closed)

Created:
4 years, 3 months ago by hubbe
Modified:
4 years, 3 months ago
Reviewers:
danakj, hubbe1, ccameron, sky, piman
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send the ICC profile to the compositor under aura. Also make sure that we remember the color space even if the compositor has not been created yet. BUG=622133 Committed: https://crrev.com/bf9fe707d077f33dee601719f647a8122e5cf04e Cr-Commit-Position: refs/heads/master@{#418690}

Patch Set 1 #

Total comments: 8

Patch Set 2 : comments addressed #

Total comments: 2

Patch Set 3 : comments addressed #

Total comments: 4

Patch Set 4 : comment updates #

Total comments: 5

Patch Set 5 : move to window_tree_host #

Total comments: 3

Patch Set 6 : add todo #

Patch Set 7 : merged #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -7 lines) Patch
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 3 4 5 6 3 chunks +3 lines, -4 lines 0 comments Download
M ui/aura/window_tree_host.cc View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M ui/compositor/compositor.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 6 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 61 (34 generated)
hubbe
4 years, 3 months ago (2016-09-02 20:53:22 UTC) #6
ccameron
Adding danakj to comment on the GPTF bit https://codereview.chromium.org/2307083003/diff/1/content/browser/compositor/gpu_process_transport_factory.cc File content/browser/compositor/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/2307083003/diff/1/content/browser/compositor/gpu_process_transport_factory.cc#newcode687 content/browser/compositor/gpu_process_transport_factory.cc:687: const ...
4 years, 3 months ago (2016-09-02 21:10:32 UTC) #8
danakj
https://codereview.chromium.org/2307083003/diff/1/content/browser/compositor/gpu_process_transport_factory.cc File content/browser/compositor/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/2307083003/diff/1/content/browser/compositor/gpu_process_transport_factory.cc#newcode690 content/browser/compositor/gpu_process_transport_factory.cc:690: data = CreatePerCompositorData(compositor); I don't think you want to ...
4 years, 3 months ago (2016-09-02 21:11:45 UTC) #9
hubbe
https://codereview.chromium.org/2307083003/diff/1/content/browser/compositor/gpu_process_transport_factory.cc File content/browser/compositor/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/2307083003/diff/1/content/browser/compositor/gpu_process_transport_factory.cc#newcode687 content/browser/compositor/gpu_process_transport_factory.cc:687: const gfx::ColorSpace& color_space) { On 2016/09/02 21:10:32, ccameron wrote: ...
4 years, 3 months ago (2016-09-02 21:35:49 UTC) #10
danakj
https://codereview.chromium.org/2307083003/diff/1/content/browser/compositor/gpu_process_transport_factory.cc File content/browser/compositor/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/2307083003/diff/1/content/browser/compositor/gpu_process_transport_factory.cc#newcode690 content/browser/compositor/gpu_process_transport_factory.cc:690: data = CreatePerCompositorData(compositor); On 2016/09/02 21:35:49, hubbe wrote: > ...
4 years, 3 months ago (2016-09-02 21:36:47 UTC) #13
danakj
https://codereview.chromium.org/2307083003/diff/20001/ui/compositor/compositor.cc File ui/compositor/compositor.cc (right): https://codereview.chromium.org/2307083003/diff/20001/ui/compositor/compositor.cc#newcode345 ui/compositor/compositor.cc:345: context_factory_->SetDisplayColorSpace(this, color_space_); Can you leave a comment like in ...
4 years, 3 months ago (2016-09-02 21:38:28 UTC) #14
hubbe
https://codereview.chromium.org/2307083003/diff/1/content/browser/compositor/gpu_process_transport_factory.cc File content/browser/compositor/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/2307083003/diff/1/content/browser/compositor/gpu_process_transport_factory.cc#newcode690 content/browser/compositor/gpu_process_transport_factory.cc:690: data = CreatePerCompositorData(compositor); On 2016/09/02 21:36:47, danakj wrote: > ...
4 years, 3 months ago (2016-09-02 22:30:47 UTC) #17
danakj
LGTM https://codereview.chromium.org/2307083003/diff/40001/content/browser/compositor/gpu_process_transport_factory.cc File content/browser/compositor/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/2307083003/diff/40001/content/browser/compositor/gpu_process_transport_factory.cc#newcode691 content/browser/compositor/gpu_process_transport_factory.cc:691: if (data->display) Can you add a comment here ...
4 years, 3 months ago (2016-09-02 23:03:32 UTC) #18
ccameron
lgtm2
4 years, 3 months ago (2016-09-02 23:05:59 UTC) #19
hubbe
https://codereview.chromium.org/2307083003/diff/40001/content/browser/compositor/gpu_process_transport_factory.cc File content/browser/compositor/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/2307083003/diff/40001/content/browser/compositor/gpu_process_transport_factory.cc#newcode691 content/browser/compositor/gpu_process_transport_factory.cc:691: if (data->display) On 2016/09/02 23:03:32, danakj wrote: > Can ...
4 years, 3 months ago (2016-09-02 23:16:10 UTC) #21
piman
https://codereview.chromium.org/2307083003/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2307083003/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2676 content/browser/renderer_host/render_widget_host_view_aura.cc:2676: gfx::ICCProfile::FromBestMonitor().GetColorSpace()); Drive-by: why is this done here, it's odd... ...
4 years, 3 months ago (2016-09-02 23:23:38 UTC) #24
hubbe
https://codereview.chromium.org/2307083003/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2307083003/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2676 content/browser/renderer_host/render_widget_host_view_aura.cc:2676: gfx::ICCProfile::FromBestMonitor().GetColorSpace()); On 2016/09/02 23:23:38, piman wrote: > Drive-by: why ...
4 years, 3 months ago (2016-09-02 23:27:48 UTC) #25
ccameron
Sorry, I inappropriately cargo-culted that from Mac https://codereview.chromium.org/2307083003/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2307083003/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2676 content/browser/renderer_host/render_widget_host_view_aura.cc:2676: gfx::ICCProfile::FromBestMonitor().GetColorSpace()); On ...
4 years, 3 months ago (2016-09-02 23:41:48 UTC) #26
piman
https://codereview.chromium.org/2307083003/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2307083003/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2676 content/browser/renderer_host/render_widget_host_view_aura.cc:2676: gfx::ICCProfile::FromBestMonitor().GetColorSpace()); On 2016/09/02 23:41:48, ccameron wrote: > On 2016/09/02 ...
4 years, 3 months ago (2016-09-02 23:56:35 UTC) #27
hubbe
https://codereview.chromium.org/2307083003/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2307083003/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2676 content/browser/renderer_host/render_widget_host_view_aura.cc:2676: gfx::ICCProfile::FromBestMonitor().GetColorSpace()); On 2016/09/02 23:56:34, piman wrote: > On 2016/09/02 ...
4 years, 3 months ago (2016-09-06 20:43:50 UTC) #31
piman
lgtm
4 years, 3 months ago (2016-09-06 20:46:27 UTC) #33
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/2307083003/80001
4 years, 3 months ago (2016-09-06 21:57:15 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/253861)
4 years, 3 months ago (2016-09-06 22:04:45 UTC) #40
hubbe
+sky for ui/aura/window_tree_host.cc
4 years, 3 months ago (2016-09-07 17:52:23 UTC) #42
sky
https://codereview.chromium.org/2307083003/diff/80001/ui/aura/window_tree_host.cc File ui/aura/window_tree_host.cc (right): https://codereview.chromium.org/2307083003/diff/80001/ui/aura/window_tree_host.cc#newcode73 ui/aura/window_tree_host.cc:73: gfx::ICCProfile::FromBestMonitor().GetColorSpace()); What is FromBestMonitor? Shouldn't you pick the profile ...
4 years, 3 months ago (2016-09-07 20:15:58 UTC) #43
hubbe1
https://codereview.chromium.org/2307083003/diff/80001/ui/aura/window_tree_host.cc File ui/aura/window_tree_host.cc (right): https://codereview.chromium.org/2307083003/diff/80001/ui/aura/window_tree_host.cc#newcode73 ui/aura/window_tree_host.cc:73: gfx::ICCProfile::FromBestMonitor().GetColorSpace()); On 2016/09/07 20:15:58, sky wrote: > What is ...
4 years, 3 months ago (2016-09-07 20:29:25 UTC) #45
sky
LGTM with a TODO https://codereview.chromium.org/2307083003/diff/80001/ui/aura/window_tree_host.cc File ui/aura/window_tree_host.cc (right): https://codereview.chromium.org/2307083003/diff/80001/ui/aura/window_tree_host.cc#newcode73 ui/aura/window_tree_host.cc:73: gfx::ICCProfile::FromBestMonitor().GetColorSpace()); On 2016/09/07 20:29:25, hubbe1 ...
4 years, 3 months ago (2016-09-07 21:41:47 UTC) #46
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/2307083003/100001
4 years, 3 months ago (2016-09-07 22:37:07 UTC) #49
commit-bot: I haz the power
Failed to apply patch for ui/compositor/compositor.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 3 months ago (2016-09-08 00:20:15 UTC) #51
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/2307083003/120001
4 years, 3 months ago (2016-09-14 21:57:52 UTC) #58
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-14 22:03:59 UTC) #59
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 22:06:44 UTC) #61
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/bf9fe707d077f33dee601719f647a8122e5cf04e
Cr-Commit-Position: refs/heads/master@{#418690}

Powered by Google App Engine
This is Rietveld 408576698