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

Issue 2323003002: Cache the inverse matrix on SkColorSpace. Rename xyz() to toXYZ(). (Closed)

Created:
4 years, 3 months ago by Brian Osman
Modified:
4 years, 3 months ago
Reviewers:
msarett, mtklein, bsalomon, reed1
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Cache the inverse matrix on SkColorSpace. Rename xyz() to toXYZ(). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2323003002 Committed: https://skia.googlesource.com/skia/+/971cd496b9e25f87f3a75a0015c203322907136a

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address feedback #

Total comments: 1

Patch Set 3 : Remove xyz() again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -27 lines) Patch
M include/core/SkColorSpace.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkColorSpace.cpp View 1 3 chunks +16 lines, -0 lines 0 comments Download
M src/core/SkColorSpaceXform.cpp View 1 2 chunks +11 lines, -13 lines 0 comments Download
M src/core/SkColorSpace_Base.h View 1 3 chunks +6 lines, -0 lines 0 comments Download
M src/gpu/GrColorSpaceXform.cpp View 1 2 chunks +3 lines, -5 lines 0 comments Download
M tests/ColorSpaceTest.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M tests/SurfaceTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/TestConfigParsing.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tools/visualize_color_gamut.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
Brian Osman
4 years, 3 months ago (2016-09-08 14:52:38 UTC) #5
mtklein
https://codereview.chromium.org/2323003002/diff/1/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2323003002/diff/1/include/core/SkColorSpace.h#newcode69 include/core/SkColorSpace.h:69: const SkMatrix44& toXYZ() const { return fToXYZD50; } You ...
4 years, 3 months ago (2016-09-08 15:04:36 UTC) #6
msarett
https://codereview.chromium.org/2323003002/diff/1/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2323003002/diff/1/include/core/SkColorSpace.h#newcode69 include/core/SkColorSpace.h:69: const SkMatrix44& toXYZ() const { return fToXYZD50; } Now ...
4 years, 3 months ago (2016-09-08 15:06:07 UTC) #7
Brian Osman
Addressed everything that was brought up. (I had niggling feelings about adding D50 to the ...
4 years, 3 months ago (2016-09-08 15:29:34 UTC) #12
mtklein
On 2016/09/08 15:29:34, Brian Osman wrote: > Addressed everything that was brought up. (I had ...
4 years, 3 months ago (2016-09-08 15:33:15 UTC) #13
msarett
lgtm https://codereview.chromium.org/2323003002/diff/20001/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2323003002/diff/20001/include/core/SkColorSpace.h#newcode74 include/core/SkColorSpace.h:74: const SkMatrix44& xyz() const { return toXYZD50(); } ...
4 years, 3 months ago (2016-09-08 15:35:21 UTC) #14
Brian Osman
On 2016/09/08 15:35:21, msarett wrote: > lgtm > > https://codereview.chromium.org/2323003002/diff/20001/include/core/SkColorSpace.h > File include/core/SkColorSpace.h (right): > ...
4 years, 3 months ago (2016-09-08 16:34:45 UTC) #17
reed1
lgtm
4 years, 3 months ago (2016-09-08 16:35:24 UTC) #18
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/2323003002/40001
4 years, 3 months ago (2016-09-08 16:37:56 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 17:10:14 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/971cd496b9e25f87f3a75a0015c203322907136a

Powered by Google App Engine
This is Rietveld 408576698