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

Side by Side Diff: src/gpu/GrBlurUtils.h

Issue 1157773003: Move SkGpuDevice::internalDrawPath to GrBlurUtils::drawPathWithMaskFilter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more cleanup Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/GrAtlasTextContext.cpp ('k') | src/gpu/GrBlurUtils.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2015 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef GrBlurUtils_DEFINED
9 #define GrBlurUtils_DEFINED
10
11 class GrClip;
12 class GrContext;
13 class GrDrawContext;
14 class GrRenderTarget;
15 struct SkIRect;
16 class SkMatrix;
17 class SkPaint;
18 class SkPath;
19
20
21 /**
22 * Blur utilities.
23 */
24 namespace GrBlurUtils {
25 /**
26 * Draw a path handling the mask filter if present.
27 */
28 void drawPathWithMaskFilter(GrContext* context,
29 GrDrawContext* drawContext,
30 GrRenderTarget* rt,
31 const GrClip& clip,
32 const SkPath& origSrcPath,
33 const SkPaint& paint,
34 const SkMatrix& origViewMatrix,
35 const SkMatrix* prePathMatrix,
36 const SkIRect& clipBounds,
37 bool pathIsMutable);
38 };
39
40 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrAtlasTextContext.cpp ('k') | src/gpu/GrBlurUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698