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

Issue 2328133002: Add cc::LayerTreeSettings for color correct rendering (Closed)

Created:
4 years, 3 months ago by ccameron
Modified:
4 years, 3 months ago
Reviewers:
enne (OOO)
CC:
achuith+watch_chromium.org, alemate+watch_chromium.org, cc-bugs_chromium.org, chromium-reviews, creis+watch_chromium.org, danakj+watch_chromium.org, darin-cc_chromium.org, davemoore+watch_chromium.org, jam, jbauman+watch_chromium.org, kalyank, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, oshima+watch_chromium.org, piman+watch_chromium.org, sievers+watch_chromium.org, Ian Vollick
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add cc::LayerTreeSettings for color correct rendering Propagate the --enable-color-correct-rendering flag from the browser to the renderer, and propagate it to the LayerTreeSettings of the browser and the renderer. Move the flag from content to cc, because it needs to be set from content::RenderWidgetCompositor and ui::Compositor (oops). BUG=44872 TBR=piman Committed: https://crrev.com/23f6433cbb6eced66e2585c3c6af092776b93f5b Cr-Commit-Position: refs/heads/master@{#418090}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move to LayerTreeSettings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -6 lines) Patch
M cc/base/switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/base/switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 2 chunks +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (10 generated)
ccameron
Oops, I shouldn't have put this in content:: originally ...
4 years, 3 months ago (2016-09-11 20:36:15 UTC) #4
enne (OOO)
https://codereview.chromium.org/2328133002/diff/1/cc/output/renderer_settings.h File cc/output/renderer_settings.h (right): https://codereview.chromium.org/2328133002/diff/1/cc/output/renderer_settings.h#newcode40 cc/output/renderer_settings.h:40: bool enable_color_correct_rendering; This should really be in LayerTreeSettings, I ...
4 years, 3 months ago (2016-09-12 18:33:25 UTC) #6
ccameron
https://codereview.chromium.org/2328133002/diff/1/cc/output/renderer_settings.h File cc/output/renderer_settings.h (right): https://codereview.chromium.org/2328133002/diff/1/cc/output/renderer_settings.h#newcode40 cc/output/renderer_settings.h:40: bool enable_color_correct_rendering; On 2016/09/12 18:33:24, enne wrote: > This ...
4 years, 3 months ago (2016-09-12 21:21:40 UTC) #8
enne (OOO)
lgtm On 2016/09/12 at 21:21:40, ccameron wrote: > I think that I'll also want it ...
4 years, 3 months ago (2016-09-12 21:26:45 UTC) #9
ccameron
Thanks! Adding TBR piman (out) for content/ and chrome/browser/chromeos/login/ OWNERship
4 years, 3 months ago (2016-09-12 21:43:59 UTC) #12
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/2328133002/20001
4 years, 3 months ago (2016-09-12 21:44:55 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-12 22:59:40 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 23:01:00 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/23f6433cbb6eced66e2585c3c6af092776b93f5b
Cr-Commit-Position: refs/heads/master@{#418090}

Powered by Google App Engine
This is Rietveld 408576698