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

Issue 1311583005: Add special case circle blur for Ganesh (Closed)

Created:
5 years, 3 months ago by robertphillips
Modified:
5 years, 3 months ago
Reviewers:
bsalomon, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add special case circle blur for Ganesh This makes the blurcircles bench go from ~33us to ~8us on Windows desktop. It will require layout test suppressions Committed: https://skia.googlesource.com/skia/+/30c4cae7d3a26252e7e45adf6e5722b34adf6848

Patch Set 1 #

Patch Set 2 : update to ToT #

Patch Set 3 : clean up #

Patch Set 4 : Working now #

Patch Set 5 : Clean up #

Patch Set 6 : Make blurcircles GM also act as a bench #

Patch Set 7 : clean up #

Total comments: 10

Patch Set 8 : Address code review comments #

Total comments: 2

Patch Set 9 : Minor fixes #

Patch Set 10 : more fixes #

Patch Set 11 : fix no-GPU build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+494 lines, -125 lines) Patch
M gm/blurcircles.cpp View 1 2 3 4 5 6 7 8 2 chunks +20 lines, -12 lines 0 comments Download
M gyp/effects.gypi View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M include/core/SkColorPriv.h View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -0 lines 0 comments Download
M include/core/SkMaskFilter.h View 1 2 3 4 5 6 1 chunk +22 lines, -8 lines 0 comments Download
M include/core/SkRRect.h View 1 2 3 4 5 6 7 2 chunks +12 lines, -1 line 0 comments Download
M include/core/SkScalar.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkColor.cpp View 1 2 3 4 5 6 7 1 chunk +2 lines, -12 lines 0 comments Download
M src/core/SkMaskFilter.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A src/effects/GrCircleBlurFragmentProcessor.h View 1 2 3 4 5 6 7 1 chunk +78 lines, -0 lines 0 comments Download
A src/effects/GrCircleBlurFragmentProcessor.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +259 lines, -0 lines 0 comments Download
M src/effects/SkBlurMask.h View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M src/effects/SkBlurMask.cpp View 1 2 3 4 4 chunks +5 lines, -7 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 2 3 4 5 6 7 15 chunks +73 lines, -76 lines 0 comments Download
M src/gpu/GrBlurUtils.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrProcessor.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
robertphillips
5 years, 3 months ago (2015-09-10 22:14:51 UTC) #2
bsalomon
lgtm, small stuff inline https://codereview.chromium.org/1311583005/diff/120001/gm/blurcircles.cpp File gm/blurcircles.cpp (right): https://codereview.chromium.org/1311583005/diff/120001/gm/blurcircles.cpp#newcode43 gm/blurcircles.cpp:43: kNormal_SkBlurStyle, Given that there are ...
5 years, 3 months ago (2015-09-11 13:05:46 UTC) #3
robertphillips
https://codereview.chromium.org/1311583005/diff/120001/gm/blurcircles.cpp File gm/blurcircles.cpp (right): https://codereview.chromium.org/1311583005/diff/120001/gm/blurcircles.cpp#newcode43 gm/blurcircles.cpp:43: kNormal_SkBlurStyle, On 2015/09/11 13:05:45, bsalomon wrote: > Given that ...
5 years, 3 months ago (2015-09-11 15:55:35 UTC) #4
reed1
https://codereview.chromium.org/1311583005/diff/120001/include/core/SkColor.h File include/core/SkColor.h (right): https://codereview.chromium.org/1311583005/diff/120001/include/core/SkColor.h#newcode149 include/core/SkColor.h:149: return SkScalarToFixed(x) >> 8; On 2015/09/11 13:05:46, bsalomon wrote: ...
5 years, 3 months ago (2015-09-11 18:47:11 UTC) #6
reed1
https://codereview.chromium.org/1311583005/diff/140001/include/core/SkColor.h File include/core/SkColor.h (right): https://codereview.chromium.org/1311583005/diff/140001/include/core/SkColor.h#newcode142 include/core/SkColor.h:142: static inline U8CPU SkUnitScalarClampToByte(SkScalar x) { Does this need ...
5 years, 3 months ago (2015-09-11 18:49:50 UTC) #7
robertphillips
https://codereview.chromium.org/1311583005/diff/120001/include/core/SkColor.h File include/core/SkColor.h (right): https://codereview.chromium.org/1311583005/diff/120001/include/core/SkColor.h#newcode149 include/core/SkColor.h:149: return SkScalarToFixed(x) >> 8; It seems like some pinned ...
5 years, 3 months ago (2015-09-15 16:35:06 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/1311583005/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311583005/180001
5 years, 3 months ago (2015-09-15 16:58:54 UTC) #10
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/3175)
5 years, 3 months ago (2015-09-15 16:59:45 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/1311583005/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311583005/200001
5 years, 3 months ago (2015-09-15 17:02:27 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-15 17:08:33 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311583005/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311583005/200001
5 years, 3 months ago (2015-09-15 17:20:15 UTC) #19
commit-bot: I haz the power
5 years, 3 months ago (2015-09-15 17:20:58 UTC) #20
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://skia.googlesource.com/skia/+/30c4cae7d3a26252e7e45adf6e5722b34adf6848

Powered by Google App Engine
This is Rietveld 408576698