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

Issue 1642703003: starter procs for blending with pm4f (Closed)

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

Description

starter procs for blending with pm4f curr/maxrss loops min median mean max stddev samples config bench 8/8 MB 4 87.1µs 91µs 89.8µs 92µs 2% ▇▇▇▇█▇▅▁▁▁ nonrendering xfer4f_srcover_N_opaque_linear 9/9 MB 2 196µs 196µs 215µs 383µs 27% ▁▁▁▁█▁▁▁▁▁ nonrendering xfer4f_srcover_N_opaque_srgb 9/9 MB 1 313µs 313µs 313µs 313µs 0% ▁▄▅▅▅▂████ nonrendering xfer4f_srcover_N_alpha_linear 9/9 MB 1 580µs 580µs 582µs 602µs 1% ▁▁▁▁▁▁▂▁▁█ nonrendering xfer4f_srcover_N_alpha_srgb 9/9 MB 23 13.1µs 13.1µs 13.1µs 13.1µs 0% ▆▄▄█▂▂▂▁▂▁ nonrendering xfer4f_srcover_1_opaque_linear 9/9 MB 23 13.2µs 13.2µs 13.2µs 13.2µs 0% █▄▂▁▃▁▂▂▂▂ nonrendering xfer4f_srcover_1_opaque_srgb 9/9 MB 2 178µs 183µs 183µs 185µs 1% ▇▇▇█▇▇▇▇▇▁ nonrendering xfer4f_srcover_1_alpha_linear 9/9 MB 1 517µs 517µs 517µs 517µs 0% ▇█▄▃▄▁▂▁▂▄ nonrendering xfer4f_srcover_1_alpha_srgb BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1642703003 TBR= landing now so these incremental types/functions can be used to collaborate with herb's work. nothing is active at this point Committed: https://skia.googlesource.com/skia/+/fbc1e296b2e98dc76de533a2bb45d9ccc8c2498f

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : int to float #

Total comments: 27
Unified diffs Side-by-side diffs Delta from patch set Stats (+452 lines, -5 lines) Patch
A bench/Xfer4fBench.cpp View 1 chunk +73 lines, -0 lines 6 comments Download
A gm/xfer4f.cpp View 1 2 3 1 chunk +83 lines, -0 lines 2 comments Download
M gyp/core.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkColor.h View 1 2 3 chunks +11 lines, -5 lines 3 comments Download
M src/core/SkColor.cpp View 1 1 chunk +5 lines, -0 lines 2 comments Download
A src/core/SkPM4fPriv.h View 1 2 1 chunk +121 lines, -0 lines 7 comments Download
A src/core/SkXfer4f.h View 1 chunk +24 lines, -0 lines 0 comments Download
A src/core/SkXfer4f.cpp View 1 2 1 chunk +134 lines, -0 lines 7 comments Download

Messages

Total messages: 31 (15 generated)
reed1
just a starter set. - need to support coverage at some point - need to ...
4 years, 10 months ago (2016-01-27 21:24:16 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/1642703003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1642703003/1
4 years, 10 months ago (2016-01-27 21:24:29 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac10.9-Clang-Arm7-Debug-iOS-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac10.9-Clang-Arm7-Debug-iOS-Trybot/builds/1072) Build-Ubuntu-GCC-Mips-Debug-Android-Trybot on ...
4 years, 10 months ago (2016-01-27 21:25:19 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1642703003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1642703003/20001
4 years, 10 months ago (2016-01-27 21:57:27 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-27 22:08:09 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1642703003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1642703003/40001
4 years, 10 months ago (2016-01-28 20:40:36 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/5757)
4 years, 10 months ago (2016-01-28 20:43:11 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1642703003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1642703003/60001
4 years, 10 months ago (2016-01-28 20:49:46 UTC) #19
reed1
Now with bench and gm. PTAL
4 years, 10 months ago (2016-01-28 21:08:42 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-28 21:16:39 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1642703003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1642703003/60001
4 years, 10 months ago (2016-01-29 13:22:25 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/fbc1e296b2e98dc76de533a2bb45d9ccc8c2498f
4 years, 10 months ago (2016-01-29 13:23:02 UTC) #27
mtklein
https://codereview.chromium.org/1642703003/diff/60001/bench/Xfer4fBench.cpp File bench/Xfer4fBench.cpp (right): https://codereview.chromium.org/1642703003/diff/60001/bench/Xfer4fBench.cpp#newcode26 bench/Xfer4fBench.cpp:26: c.fVec[0] = 1; c.fVec[1] = 1; c.fVec[2] = 1; ...
4 years, 10 months ago (2016-01-29 15:23:00 UTC) #28
mtklein
https://codereview.chromium.org/1642703003/diff/60001/src/core/SkXfer4f.cpp File src/core/SkXfer4f.cpp (right): https://codereview.chromium.org/1642703003/diff/60001/src/core/SkXfer4f.cpp#newcode55 src/core/SkXfer4f.cpp:55: s4 = s4 * Sk4f(255); I think if we ...
4 years, 10 months ago (2016-01-29 15:41:31 UTC) #29
reed1
all fixes to comments rolling into https://codereview.chromium.org/1634273002/ except that SkXfer4f.cpp is totally gone https://codereview.chromium.org/1642703003/diff/60001/bench/Xfer4fBench.cpp File ...
4 years, 10 months ago (2016-01-29 22:35:27 UTC) #30
mtklein
4 years, 10 months ago (2016-01-30 01:18:19 UTC) #31
Message was sent while issue was closed.
https://codereview.chromium.org/1642703003/diff/60001/bench/Xfer4fBench.cpp
File bench/Xfer4fBench.cpp (right):

https://codereview.chromium.org/1642703003/diff/60001/bench/Xfer4fBench.cpp#n...
bench/Xfer4fBench.cpp:39: for (int i = 0; i < loops; ++i) {
On 2016/01/29 22:35:27, reed1 wrote:
> On 2016/01/29 15:23:00, mtklein wrote:
> > Generally, you can also write 
> >   for (int i = 0; i < INNER_LOOPS*loops; ++i) {
> >      ...
> >   }
> 
> Ah, so you never pass 0 for loops?

Um, it's true that nanobench happens to never pass 0 for loops, but I can't help
but ask... what do you think goes wrong if loops is 0?

That's still just

for (int i = 0; i < 0; ++i) {
    ...
}

Powered by Google App Engine
This is Rietveld 408576698