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

Issue 1939513002: Add specialized sRGB blitter for SkOpts (Closed)

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

Description

Add tests and benches to support the sRGB blitter for SkOpts 1,370.85 LinearSrcOvericonstrip.pngVSkOptsSSE41 2,359.69 LinearSrcOvericonstrip.pngVSkOptsDefault 1,828.72 LinearSrcOvericonstrip.pngVSkOptsNonSimdCore 3,277.40 LinearSrcOvericonstrip.pngVSkOptsTrivial 9,862.34 LinearSrcOvericonstrip.pngVSkOptsBruteForce 633.55 LinearSrcOvermandrill_512.pngVSkOptsSSE41 684.29 LinearSrcOvermandrill_512.pngVSkOptsDefault 1,201.88 LinearSrcOvermandrill_512.pngVSkOptsNonSimdCore 2,382.63 LinearSrcOvermandrill_512.pngVSkOptsTrivial 10,888.74 LinearSrcOvermandrill_512.pngVSkOptsBruteForce 209.14 LinearSrcOverplane.pngVSkOptsSSE41 562.24 LinearSrcOverplane.pngVSkOptsDefault 272.64 LinearSrcOverplane.pngVSkOptsNonSimdCore 436.46 LinearSrcOverplane.pngVSkOptsTrivial 1,327.23 LinearSrcOverplane.pngVSkOptsBruteForce 318.01 LinearSrcOverbaby_tux.pngVSkOptsSSE41 529.05 LinearSrcOverbaby_tux.pngVSkOptsDefault 441.33 LinearSrcOverbaby_tux.pngVSkOptsNonSimdCore 720.50 LinearSrcOverbaby_tux.pngVSkOptsTrivial 2,191.10 LinearSrcOverbaby_tux.pngVSkOptsBruteForce 479.68 LinearSrcOveryellow_rose.pngVSkOptsSSE41 1,095.03 LinearSrcOveryellow_rose.pngVSkOptsDefault 668.60 LinearSrcOveryellow_rose.pngVSkOptsNonSimdCore 1,257.19 LinearSrcOveryellow_rose.pngVSkOptsTrivial 4,970.25 LinearSrcOveryellow_rose.pngVSkOptsBruteForce BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1939513002 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/554784cd85029c05d9ed04b1aeb71520d196153a Committed: https://skia.googlesource.com/skia/+/bc927548db17accec2195af6e15053f7918bb3f5 Committed: https://skia.googlesource.com/skia/+/cc49e5950d3a0de03c24da71d23bbdaebead97c6

Patch Set 1 #

Patch Set 2 : Add fast pixel routines. #

Patch Set 3 : Moved to ops. #

Patch Set 4 : Working system #

Patch Set 5 : Sync and remove unneeded. #

Total comments: 20

Patch Set 6 : Address comments. #

Total comments: 4

Patch Set 7 : Fix parameter from __m128 to __m128i. #

Patch Set 8 : Fix tuple strangeness. #

Patch Set 9 : Fix forgetten define. #

Patch Set 10 : Test out of memory conjecture. #

Patch Set 11 : Width check. #

Patch Set 12 : Add printf for sizes. #

Patch Set 13 : Try to add printing again. #

Patch Set 14 : Try to add printing again again. #

Patch Set 15 : Turn on verbose flag. #

Patch Set 16 : Get broken color type. #

Patch Set 17 : Fix broken SkAssert. #

Patch Set 18 : Fix asserts. #

Patch Set 19 : Fix unitialized memory. #

Patch Set 20 : Test neon sqrt. #

Patch Set 21 : Working arm7. #

Patch Set 22 : Fix bad assert. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+514 lines, -31 lines) Patch
A bench/SkBlend_optsBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +167 lines, -0 lines 0 comments Download
M src/opts/SkBlend_opts.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +208 lines, -27 lines 0 comments Download
M src/opts/SkOpts_sse41.cpp View 1 2 chunks +5 lines, -4 lines 0 comments Download
A tests/SkBlend_optsTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +134 lines, -0 lines 0 comments Download

Messages

Total messages: 83 (32 generated)
herb_g
Add fast pixel routines.
4 years, 7 months ago (2016-05-03 20:30:04 UTC) #2
herb_g
Moved to ops.
4 years, 7 months ago (2016-05-04 22:10:08 UTC) #4
herb_g
Working system
4 years, 7 months ago (2016-05-05 22:01:13 UTC) #5
herb_g
Sync and remove unneeded.
4 years, 7 months ago (2016-05-05 22:18:09 UTC) #6
herb_g
4 years, 7 months ago (2016-05-05 22:20:21 UTC) #9
mtklein
So which are best?
4 years, 7 months ago (2016-05-05 23:09:07 UTC) #10
herb_g
Added test results for different implementations. SSE41 is the fastest then it is either default(SSE2) ...
4 years, 7 months ago (2016-05-06 15:16:29 UTC) #12
f(malita)
https://codereview.chromium.org/1939513002/diff/80001/bench/SkBlend_optsBench.cpp File bench/SkBlend_optsBench.cpp (right): https://codereview.chromium.org/1939513002/diff/80001/bench/SkBlend_optsBench.cpp#newcode114 bench/SkBlend_optsBench.cpp:114: if (!Blender::WorksOnCpu()) return; mtklein is probably the right person ...
4 years, 7 months ago (2016-05-06 17:43:57 UTC) #13
herb_g
Address comments.
4 years, 7 months ago (2016-05-06 20:57:25 UTC) #14
herb_g
Thanks for the review https://codereview.chromium.org/1939513002/diff/80001/bench/SkBlend_optsBench.cpp File bench/SkBlend_optsBench.cpp (right): https://codereview.chromium.org/1939513002/diff/80001/bench/SkBlend_optsBench.cpp#newcode114 bench/SkBlend_optsBench.cpp:114: if (!Blender::WorksOnCpu()) return; On 2016/05/06 ...
4 years, 7 months ago (2016-05-06 20:57:46 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939513002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939513002/100001
4 years, 7 months ago (2016-05-06 20:58:03 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/8438) Build-Win-MSVC-x86_64-Debug-Trybot on ...
4 years, 7 months ago (2016-05-06 21:00:35 UTC) #19
f(malita)
Thanks. LGTM % break fix. https://codereview.chromium.org/1939513002/diff/100001/src/opts/SkBlend_opts.h File src/opts/SkBlend_opts.h (right): https://codereview.chromium.org/1939513002/diff/100001/src/opts/SkBlend_opts.h#newcode33 src/opts/SkBlend_opts.h:33: //SkNx_cast<uint8_t>(r).store(dst); nit: missed a ...
4 years, 7 months ago (2016-05-06 21:04:00 UTC) #20
herb_g
Fix parameter from __m128 to __m128i.
4 years, 7 months ago (2016-05-06 21:04:39 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939513002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939513002/120001
4 years, 7 months ago (2016-05-06 21:05:03 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/8385)
4 years, 7 months ago (2016-05-06 21:09:54 UTC) #25
herb_g
Fix tuple strangeness.
4 years, 7 months ago (2016-05-06 21:19:42 UTC) #26
herb_g
https://codereview.chromium.org/1939513002/diff/100001/src/opts/SkBlend_opts.h File src/opts/SkBlend_opts.h (right): https://codereview.chromium.org/1939513002/diff/100001/src/opts/SkBlend_opts.h#newcode33 src/opts/SkBlend_opts.h:33: //SkNx_cast<uint8_t>(r).store(dst); On 2016/05/06 21:04:00, f(malita) wrote: > nit: missed ...
4 years, 7 months ago (2016-05-06 21:19:51 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939513002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939513002/140001
4 years, 7 months ago (2016-05-06 21:20:13 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot/builds/6703)
4 years, 7 months ago (2016-05-06 21:25:07 UTC) #31
herb_g
Fix forgetten define.
4 years, 7 months ago (2016-05-06 21:28:42 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939513002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939513002/160001
4 years, 7 months ago (2016-05-06 21:29:24 UTC) #34
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/8406)
4 years, 7 months ago (2016-05-06 21:34:54 UTC) #36
herb_g
Test out of memory conjecture.
4 years, 7 months ago (2016-05-09 13:55:55 UTC) #37
herb_g
Width check.
4 years, 7 months ago (2016-05-09 15:06:46 UTC) #38
herb_g
Add printf for sizes.
4 years, 7 months ago (2016-05-09 15:25:01 UTC) #39
herb_g
Try to add printing again.
4 years, 7 months ago (2016-05-09 19:04:50 UTC) #40
herb_g
Try to add printing again again.
4 years, 7 months ago (2016-05-09 19:28:22 UTC) #41
herb_g
Turn on verbose flag.
4 years, 7 months ago (2016-05-09 19:58:45 UTC) #42
herb_g
Get broken color type.
4 years, 7 months ago (2016-05-09 20:17:38 UTC) #43
herb_g
Fix broken SkAssert.
4 years, 7 months ago (2016-05-09 20:48:08 UTC) #44
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939513002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939513002/320001
4 years, 7 months ago (2016-05-09 21:10:08 UTC) #46
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/8444)
4 years, 7 months ago (2016-05-09 21:12:36 UTC) #48
herb_g
Fix asserts.
4 years, 7 months ago (2016-05-09 21:25:22 UTC) #49
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939513002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939513002/340001
4 years, 7 months ago (2016-05-09 21:57:09 UTC) #51
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-09 22:10:57 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939513002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939513002/340001
4 years, 7 months ago (2016-05-10 20:32:52 UTC) #56
commit-bot: I haz the power
Committed patchset #18 (id:340001) as https://skia.googlesource.com/skia/+/554784cd85029c05d9ed04b1aeb71520d196153a
4 years, 7 months ago (2016-05-10 20:33:51 UTC) #58
herb_g
Fix unitialized memory.
4 years, 7 months ago (2016-05-13 15:13:22 UTC) #60
herb_g
Test neon sqrt.
4 years, 7 months ago (2016-05-13 18:24:50 UTC) #61
herb_g
Working arm7.
4 years, 7 months ago (2016-05-16 17:50:13 UTC) #62
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939513002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939513002/400001
4 years, 7 months ago (2016-05-16 18:11:36 UTC) #64
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-16 18:39:03 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939513002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939513002/400001
4 years, 7 months ago (2016-05-16 21:26:55 UTC) #69
commit-bot: I haz the power
Committed patchset #21 (id:400001) as https://skia.googlesource.com/skia/+/bc927548db17accec2195af6e15053f7918bb3f5
4 years, 7 months ago (2016-05-16 21:27:54 UTC) #71
reed1
A revert of this CL (patchset #21 id:400001) has been created in https://codereview.chromium.org/1986763002/ by reed@google.com. ...
4 years, 7 months ago (2016-05-17 10:06:47 UTC) #72
herb_g
Fix bad assert.
4 years, 7 months ago (2016-05-17 14:09:08 UTC) #74
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939513002/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939513002/420001
4 years, 7 months ago (2016-05-17 14:38:50 UTC) #76
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/8613) Build-Win-MSVC-x86_64-Debug-Trybot on ...
4 years, 7 months ago (2016-05-17 15:02:45 UTC) #78
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939513002/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939513002/420001
4 years, 7 months ago (2016-05-17 16:56:17 UTC) #81
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 16:57:37 UTC) #83
Message was sent while issue was closed.
Committed patchset #22 (id:420001) as
https://skia.googlesource.com/skia/+/cc49e5950d3a0de03c24da71d23bbdaebead97c6

Powered by Google App Engine
This is Rietveld 408576698