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

Issue 708073002: Use size of SkRect as the key for blur mask cache (Closed)

Created:
6 years, 1 month ago by qiankun
Modified:
6 years ago
Reviewers:
reed1
CC:
humper, reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Use size of SkRect as the key for blur mask cache BUG=429409 Committed: https://skia.googlesource.com/skia/+/69469b570ceb8a5ab7f64778d1b128cd5c472e73

Patch Set 1 #

Patch Set 2 : fix GM blur2rects #

Patch Set 3 : fix fractional rects #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -7 lines) Patch
M src/core/SkMaskCache.cpp View 1 2 1 chunk +13 lines, -5 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (2 generated)
qiankun
PTAL.
6 years, 1 month ago (2014-11-07 08:05:29 UTC) #2
reed1
What bug is this fixing? Why is it correct to ignore the phase of the ...
6 years, 1 month ago (2014-11-07 14:49:32 UTC) #3
qiankun
On 2014/11/07 14:49:32, reed1 wrote: > What bug is this fixing? Why is it correct ...
6 years, 1 month ago (2014-11-10 09:11:52 UTC) #4
reed1
#include "SkBlurMaskFilter.h" static void draw_blur(SkCanvas* canvas) { SkPaint paint; paint.setMaskFilter(SkBlurMaskFilter::Create(kNormal_SkBlurStyle, 2.3f))->unref(); SkRect outer = SkRect::MakeXYWH(10.1f, ...
6 years, 1 month ago (2014-11-10 16:33:58 UTC) #5
qiankun
#include "SkBlurMaskFilter.h" static void draw_blur(SkCanvas* canvas) { SkPaint paint; paint.setMaskFilter(SkBlurMaskFilter::Create(kNormal_SkBlurStyle, 2.3f))->unref(); SkRect outer = SkRect::MakeXYWH(10.1f, ...
6 years, 1 month ago (2014-11-13 07:53:37 UTC) #6
reed1
On 2014/11/13 07:53:37, qiankun wrote: > #include "SkBlurMaskFilter.h" > static void draw_blur(SkCanvas* canvas) { > ...
6 years, 1 month ago (2014-11-13 18:43:53 UTC) #7
qiankun
On 2014/11/13 18:43:53, reed1 wrote: > On 2014/11/13 07:53:37, qiankun wrote: > > #include "SkBlurMaskFilter.h" ...
6 years, 1 month ago (2014-11-14 02:02:20 UTC) #8
reed1
https://codereview.chromium.org/728863002/ This new GM "blur2rects" show the current behavior, where the two drawing versions are ...
6 years, 1 month ago (2014-11-14 17:02:04 UTC) #9
qiankun
The two drawing versions are slightly different due to precision. Fixed this issue using smallR ...
6 years, 1 month ago (2014-11-14 18:50:36 UTC) #10
reed1
I have updated the gm slightly, and now it may more clearly show that this ...
6 years, 1 month ago (2014-11-14 20:20:07 UTC) #11
qiankun
On 2014/11/14 20:20:07, reed1 wrote: > I have updated the gm slightly, and now it ...
6 years, 1 month ago (2014-11-17 03:19:10 UTC) #12
qiankun
Updated this CL to take rects with fractional boundary into account.
6 years, 1 month ago (2014-11-18 09:11:29 UTC) #13
qiankun
hi reed, could you take a look at this update?
6 years, 1 month ago (2014-11-19 16:19:11 UTC) #14
qiankun
Ping. Any comments about this CL?
6 years ago (2014-11-25 15:29:59 UTC) #15
reed1
lgtm
6 years ago (2014-12-05 19:06:50 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/708073002/40001
6 years ago (2014-12-05 19:07:48 UTC) #18
commit-bot: I haz the power
6 years ago (2014-12-05 19:16:30 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/69469b570ceb8a5ab7f64778d1b128cd5c472e73

Powered by Google App Engine
This is Rietveld 408576698