diff options
author | Robert Phillips <robertphillips@google.com> | 2017-09-13 15:25:47 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-13 19:49:47 +0000 |
commit | 09dfc4759e99229e7c74891a88596e8b9b3d9026 (patch) | |
tree | 29131ab740739a098a8cd19f103a08a711394605 /gm/blurrect.cpp | |
parent | b493eebca14aefbd5f22fb5d45ba978b19db4b18 (diff) |
Pull non-substantive changes out of explicit GPU resource allocation CL
Change-Id: Ib6a289553ecd15c722599b7dc0d347a7800801cb
Reviewed-on: https://skia-review.googlesource.com/46284
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'gm/blurrect.cpp')
-rw-r--r-- | gm/blurrect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/blurrect.cpp b/gm/blurrect.cpp index 1e245712fe..54f3c216c0 100644 --- a/gm/blurrect.cpp +++ b/gm/blurrect.cpp @@ -58,7 +58,7 @@ static void draw_donut_skewed(SkCanvas* canvas, const SkRect& r, const SkPaint& /* * Spits out a dummy gradient to test blur with shader on paint */ -static sk_sp<SkShader> MakeRadial() { +static sk_sp<SkShader> make_radial() { SkPoint pts[2] = { { 0, 0 }, { SkIntToScalar(100), SkIntToScalar(100) } @@ -123,7 +123,7 @@ protected: paint.setAlpha(fAlpha); SkPaint paintWithRadial = paint; - paintWithRadial.setShader(MakeRadial()); + paintWithRadial.setShader(make_radial()); constexpr Proc procs[] = { fill_rect, draw_donut, draw_donut_skewed |