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

Issue 1563393002: Use SkOpts routines in SkSwizzler (Closed)

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

Description

Use SkOpts routines in SkSwizzler This is a bit tricky because we don't intend to support sampling in SkOpts. The swizzler will fallback to a default routine in the event that sampling is requested. BUG=skia:4767 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1563393002 Committed: https://skia.googlesource.com/skia/+/a51e7782b2e028a38712a159c412e6151eca1666

Patch Set 1 : #

Total comments: 29

Patch Set 2 : Rebase #

Patch Set 3 : Response to comments #

Total comments: 2

Patch Set 4 : Rebase on SkipLeadingZeros #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -13 lines) Patch
M gyp/codec.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M src/codec/SkSwizzler.h View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M src/codec/SkSwizzler.cpp View 1 2 3 9 chunks +30 lines, -10 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 24 (8 generated)
msarett
No performance improvements yet. We haven't added the optimized routines to SkOpts yet. https://codereview.chromium.org/1563393002/diff/20001/src/codec/SkSwizzler.cpp File ...
4 years, 11 months ago (2016-01-08 13:56:00 UTC) #4
mtklein
What sampling rates would we need in practice? It'd be nice to keep those in ...
4 years, 11 months ago (2016-01-08 15:20:20 UTC) #5
scroggo
> What sampling rates would we need in practice? It'd be nice to keep those ...
4 years, 11 months ago (2016-01-08 16:02:57 UTC) #6
mtklein
https://codereview.chromium.org/1563393002/diff/20001/src/codec/SkSwizzler.cpp File src/codec/SkSwizzler.cpp (right): https://codereview.chromium.org/1563393002/diff/20001/src/codec/SkSwizzler.cpp#newcode733 src/codec/SkSwizzler.cpp:733: scalarProc = &swizzle_rgba_to_n32_premul_skipZ; On 2016/01/08 16:02:56, scroggo wrote: > ...
4 years, 11 months ago (2016-01-08 16:23:01 UTC) #7
scroggo
https://codereview.chromium.org/1563393002/diff/20001/src/codec/SkSwizzler.cpp File src/codec/SkSwizzler.cpp (right): https://codereview.chromium.org/1563393002/diff/20001/src/codec/SkSwizzler.cpp#newcode733 src/codec/SkSwizzler.cpp:733: scalarProc = &swizzle_rgba_to_n32_premul_skipZ; On 2016/01/08 16:23:01, mtklein wrote: > ...
4 years, 11 months ago (2016-01-08 16:50:51 UTC) #8
mtklein
On 2016/01/08 16:50:51, scroggo wrote: > https://codereview.chromium.org/1563393002/diff/20001/src/codec/SkSwizzler.cpp > File src/codec/SkSwizzler.cpp (right): > > https://codereview.chromium.org/1563393002/diff/20001/src/codec/SkSwizzler.cpp#newcode733 > ...
4 years, 11 months ago (2016-01-08 17:13:15 UTC) #9
mtklein
On 2016/01/08 17:13:15, mtklein wrote: > On 2016/01/08 16:50:51, scroggo wrote: > > https://codereview.chromium.org/1563393002/diff/20001/src/codec/SkSwizzler.cpp > ...
4 years, 11 months ago (2016-01-08 17:33:36 UTC) #10
mtklein
> while (width > 0 && *src == 0x00000000) { > width--; > src++; > ...
4 years, 11 months ago (2016-01-08 17:34:22 UTC) #11
scroggo
On 2016/01/08 17:33:36, mtklein wrote: > On 2016/01/08 17:13:15, mtklein wrote: > > On 2016/01/08 ...
4 years, 11 months ago (2016-01-08 18:31:29 UTC) #12
msarett
Not planning to land this until after "SkSwizzler: Factor skipping zeros out into a helper ...
4 years, 11 months ago (2016-01-11 20:33:25 UTC) #15
scroggo
lgtm
4 years, 11 months ago (2016-01-11 20:40:00 UTC) #16
mtklein
lgtm mod skip zeros https://codereview.chromium.org/1563393002/diff/100001/src/codec/SkSwizzler.cpp File src/codec/SkSwizzler.cpp (right): https://codereview.chromium.org/1563393002/diff/100001/src/codec/SkSwizzler.cpp#newcode775 src/codec/SkSwizzler.cpp:775: if (fFastProc) { You might ...
4 years, 11 months ago (2016-01-11 21:07:21 UTC) #17
msarett
Rebase on SkipLeadingZeros. https://codereview.chromium.org/1563393002/diff/100001/src/codec/SkSwizzler.cpp File src/codec/SkSwizzler.cpp (right): https://codereview.chromium.org/1563393002/diff/100001/src/codec/SkSwizzler.cpp#newcode775 src/codec/SkSwizzler.cpp:775: if (fFastProc) { On 2016/01/11 21:07:21, ...
4 years, 11 months ago (2016-01-12 14:35:51 UTC) #18
mtklein
lgtm
4 years, 11 months ago (2016-01-12 14:40:03 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1563393002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1563393002/120001
4 years, 11 months ago (2016-01-12 14:40:08 UTC) #22
commit-bot: I haz the power
4 years, 11 months ago (2016-01-12 14:51:14 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:120001) as
https://skia.googlesource.com/skia/+/a51e7782b2e028a38712a159c412e6151eca1666

Powered by Google App Engine
This is Rietveld 408576698