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

Issue 1746153002: Add swizzle for rgb8888. (Closed)

Created:
4 years, 9 months ago by herb_g
Modified:
4 years, 9 months ago
Reviewers:
mtklein, mtklein_C, reed1
CC:
f(malita), reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@sample-span-20160229
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add swizzle for rgb8888. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1746153002 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/fd5a26080d4647cc913f5f2b2dc72cb35abac3ab

Patch Set 1 #

Patch Set 2 : Add needed neon operators. #

Patch Set 3 : What was I thinking? #

Total comments: 8

Patch Set 4 : address comments #

Total comments: 6

Patch Set 5 : change to clearer enum. #

Total comments: 2

Patch Set 6 : clean up constructor tree. #

Patch Set 7 : Make constructors clean and disconnect from sample spans cl. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -26 lines) Patch
M src/core/SkLinearBitmapPipeline.cpp View 1 2 3 4 5 6 5 chunks +38 lines, -25 lines 0 comments Download
M src/opts/SkNx_neon.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M src/opts/SkNx_sse.h View 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 39 (15 generated)
herb_g
4 years, 9 months ago (2016-02-29 18:14:20 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1746153002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1746153002/1
4 years, 9 months ago (2016-02-29 18:18:13 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot/builds/6658)
4 years, 9 months ago (2016-02-29 18:20:45 UTC) #8
herb_g
Add needed neon operators.
4 years, 9 months ago (2016-02-29 18:43:50 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1746153002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1746153002/20001
4 years, 9 months ago (2016-02-29 18:44:15 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot/builds/6660)
4 years, 9 months ago (2016-02-29 18:48:46 UTC) #13
herb_g
What was I thinking?
4 years, 9 months ago (2016-02-29 19:36:00 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1746153002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1746153002/40001
4 years, 9 months ago (2016-02-29 19:36:29 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-02-29 19:48:18 UTC) #18
herb_g
4 years, 9 months ago (2016-02-29 19:58:24 UTC) #19
mtklein_C
https://codereview.chromium.org/1746153002/diff/40001/src/core/SkLinearBitmapPipeline.cpp File src/core/SkLinearBitmapPipeline.cpp (right): https://codereview.chromium.org/1746153002/diff/40001/src/core/SkLinearBitmapPipeline.cpp#newcode718 src/core/SkLinearBitmapPipeline.cpp:718: kSwizzle = true, Let's call this kSwapRB or kSwap02? ...
4 years, 9 months ago (2016-02-29 20:15:54 UTC) #21
herb_g
https://codereview.chromium.org/1746153002/diff/40001/src/core/SkLinearBitmapPipeline.cpp File src/core/SkLinearBitmapPipeline.cpp (right): https://codereview.chromium.org/1746153002/diff/40001/src/core/SkLinearBitmapPipeline.cpp#newcode718 src/core/SkLinearBitmapPipeline.cpp:718: kSwizzle = true, On 2016/02/29 20:15:54, mtklein_C wrote: > ...
4 years, 9 months ago (2016-02-29 21:30:59 UTC) #22
herb_g
address comments
4 years, 9 months ago (2016-02-29 21:31:27 UTC) #23
mtklein
https://codereview.chromium.org/1746153002/diff/60001/src/core/SkLinearBitmapPipeline.cpp File src/core/SkLinearBitmapPipeline.cpp (right): https://codereview.chromium.org/1746153002/diff/60001/src/core/SkLinearBitmapPipeline.cpp#newcode716 src/core/SkLinearBitmapPipeline.cpp:716: enum ShouldSizzle { spelling.... let's either make this an ...
4 years, 9 months ago (2016-02-29 21:34:07 UTC) #24
herb_g
change to clearer enum.
4 years, 9 months ago (2016-02-29 21:48:20 UTC) #25
herb_g
https://codereview.chromium.org/1746153002/diff/60001/src/core/SkLinearBitmapPipeline.cpp File src/core/SkLinearBitmapPipeline.cpp (right): https://codereview.chromium.org/1746153002/diff/60001/src/core/SkLinearBitmapPipeline.cpp#newcode716 src/core/SkLinearBitmapPipeline.cpp:716: enum ShouldSizzle { On 2016/02/29 21:34:07, mtklein wrote: > ...
4 years, 9 months ago (2016-02-29 21:54:56 UTC) #26
mtklein
lgtm https://codereview.chromium.org/1746153002/diff/80001/src/core/SkLinearBitmapPipeline.cpp File src/core/SkLinearBitmapPipeline.cpp (right): https://codereview.chromium.org/1746153002/diff/80001/src/core/SkLinearBitmapPipeline.cpp#newcode924 src/core/SkLinearBitmapPipeline.cpp:924: sampleStage->Initialize<Sampler<Pixel8888<kSRGB_SkColorProfileType, these calls to Initialize() are not very ...
4 years, 9 months ago (2016-02-29 22:04:27 UTC) #27
herb_g
clean up constructor tree.
4 years, 9 months ago (2016-02-29 22:53:07 UTC) #28
herb_g
Make constructors clean and disconnect from sample spans cl.
4 years, 9 months ago (2016-02-29 23:11:39 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1746153002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1746153002/120001
4 years, 9 months ago (2016-02-29 23:12:50 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-02-29 23:38:53 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1746153002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1746153002/120001
4 years, 9 months ago (2016-03-01 14:59:57 UTC) #36
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://skia.googlesource.com/skia/+/fd5a26080d4647cc913f5f2b2dc72cb35abac3ab
4 years, 9 months ago (2016-03-01 15:01:28 UTC) #38
mtklein
4 years, 9 months ago (2016-03-01 15:17:56 UTC) #39
Message was sent while issue was closed.
https://codereview.chromium.org/1746153002/diff/80001/src/core/SkLinearBitmap...
File src/core/SkLinearBitmapPipeline.cpp (right):

https://codereview.chromium.org/1746153002/diff/80001/src/core/SkLinearBitmap...
src/core/SkLinearBitmapPipeline.cpp:924:
sampleStage->Initialize<Sampler<Pixel8888<kSRGB_SkColorProfileType,
On 2016/02/29 22:04:26, mtklein wrote:
> these calls to Initialize() are not very pretty.

Very pretty now!

Powered by Google App Engine
This is Rietveld 408576698