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

Issue 2873333002: mac color: Use sRGB for native controls instead of device RGB (Closed)

Created:
3 years, 7 months ago by ccameron
Modified:
3 years, 7 months ago
Reviewers:
Nico
CC:
chromium-reviews, pdr+renderingwatchlist_chromium.org, zoltan1, blink-reviews-layout_chromium.org, szager+layoutwatch_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, mac-reviews_chromium.org, blink-reviews, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

mac color: Use sRGB for native controls instead of device RGB Native controls are interpreted as being in sRGB color by Skia. Ensure that the color values that we produce are sRGB color values when color correct rendering is enabled. The conversion to device color space will be done at raster or composite time (depending on various factors). BUG=713891 Review-Url: https://codereview.chromium.org/2873333002 Cr-Commit-Position: refs/heads/master@{#471937} Committed: https://chromium.googlesource.com/chromium/src/+/6fb77648845ad5dee4e264afa83d2cc6d96a2fa8

Patch Set 1 #

Patch Set 2 : And roll in the image decode bit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -27 lines) Patch
M content/browser/renderer_host/render_view_host_impl.cc View 1 1 chunk +12 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutThemeMac.mm View 10 chunks +31 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/GraphicsContextCanvas.mm View 2 chunks +5 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 16 (10 generated)
ccameron
This whole "be conscious about what color space we're using in Cocoa" thing needs to ...
3 years, 7 months ago (2017-05-11 08:53:28 UTC) #8
ccameron
ping
3 years, 7 months ago (2017-05-15 20:41:34 UTC) #9
Nico
lgtm What's the testing plan for this? It seems like we'll need these toggles in ...
3 years, 7 months ago (2017-05-15 20:51:24 UTC) #10
ccameron
On 2017/05/15 20:51:24, Nico wrote: > lgtm > > What's the testing plan for this? ...
3 years, 7 months ago (2017-05-15 21:02:48 UTC) #11
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/2873333002/20001
3 years, 7 months ago (2017-05-15 21:03:59 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 22:57:08 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6fb77648845ad5dee4e264afa83d...

Powered by Google App Engine
This is Rietveld 408576698