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

Issue 2206403003: Optimize color xforms when src and dst are matching (Closed)

Created:
4 years, 4 months ago by msarett
Modified:
4 years, 4 months ago
Reviewers:
mtklein, mtklein_C
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Optimize color xforms when src and dst are matching Useful when: (1) Client does not realize src and dst match (calls color xform anyway). (2) Client wants half floats, src and dst have matching gamuts (3) Client wants premul (done correctly in linear space), src and dst have matching gamuts. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2206403003 Committed: https://skia.googlesource.com/skia/+/200877eecaba782e56a1dd9e13a92f36d7b1ba12

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 4

Patch Set 3 : Fix compiler errors #

Patch Set 4 : Response to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+538 lines, -450 lines) Patch
M bench/ColorCodecBench.cpp View 1 chunk +2 lines, -5 lines 0 comments Download
M src/core/SkColorSpaceXform.h View 1 1 chunk +7 lines, -1 line 0 comments Download
M src/core/SkColorSpaceXform.cpp View 1 2 3 8 chunks +529 lines, -38 lines 0 comments Download
M src/core/SkColorSpaceXformOpts.h View 1 2 3 1 chunk +0 lines, -406 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 19 (13 generated)
msarett
4 years, 4 months ago (2016-08-15 13:02:10 UTC) #6
mtklein_C
https://codereview.chromium.org/2206403003/diff/40001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2206403003/diff/40001/src/core/SkColorSpaceXform.cpp#newcode12 src/core/SkColorSpaceXform.cpp:12: #include "SkColorSpaceXformOpts.h" Probably time to fold SkColorSpaceXformOpts.h into this ...
4 years, 4 months ago (2016-08-15 14:00:02 UTC) #8
msarett
https://codereview.chromium.org/2206403003/diff/40001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2206403003/diff/40001/src/core/SkColorSpaceXform.cpp#newcode12 src/core/SkColorSpaceXform.cpp:12: #include "SkColorSpaceXformOpts.h" On 2016/08/15 14:00:01, mtklein_C wrote: > Probably ...
4 years, 4 months ago (2016-08-15 14:37:17 UTC) #10
mtklein_C
lgtm
4 years, 4 months ago (2016-08-15 15:06:28 UTC) #15
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/2206403003/100001
4 years, 4 months ago (2016-08-15 15:07:04 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-15 15:10:47 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://skia.googlesource.com/skia/+/200877eecaba782e56a1dd9e13a92f36d7b1ba12

Powered by Google App Engine
This is Rietveld 408576698