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

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

Issue 1486923004: Retract GrRenderTarget a bit (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years 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
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrBlurUtils_DEFINED 8 #ifndef GrBlurUtils_DEFINED
9 #define GrBlurUtils_DEFINED 9 #define GrBlurUtils_DEFINED
10 10
(...skipping 13 matching lines...) Expand all
24 24
25 /** 25 /**
26 * Blur utilities. 26 * Blur utilities.
27 */ 27 */
28 namespace GrBlurUtils { 28 namespace GrBlurUtils {
29 /** 29 /**
30 * Draw a path handling the mask filter if present. 30 * Draw a path handling the mask filter if present.
31 */ 31 */
32 void drawPathWithMaskFilter(GrContext* context, 32 void drawPathWithMaskFilter(GrContext* context,
33 GrDrawContext* drawContext, 33 GrDrawContext* drawContext,
34 GrRenderTarget* rt,
35 const GrClip& clip, 34 const GrClip& clip,
36 const SkPath& origSrcPath, 35 const SkPath& origSrcPath,
37 const SkPaint& paint, 36 const SkPaint& paint,
38 const SkMatrix& origViewMatrix, 37 const SkMatrix& origViewMatrix,
39 const SkMatrix* prePathMatrix, 38 const SkMatrix* prePathMatrix,
40 const SkIRect& clipBounds, 39 const SkIRect& clipBounds,
41 bool pathIsMutable); 40 bool pathIsMutable);
42 41
43 /** 42 /**
44 * Draw a path handling the mask filter. The mask filter is not optional. Th e path effect is 43 * Draw a path handling the mask filter. The mask filter is not optional. Th e path effect is
45 * optional. The GrPaint will be modified after return. 44 * optional. The GrPaint will be modified after return.
46 */ 45 */
47 void drawPathWithMaskFilter(GrContext*, 46 void drawPathWithMaskFilter(GrContext*,
48 GrDrawContext*, 47 GrDrawContext*,
49 GrRenderTarget*,
50 const GrClip&, 48 const GrClip&,
51 const SkPath& path, 49 const SkPath& path,
52 GrPaint*, 50 GrPaint*,
53 const SkMatrix& viewMatrix, 51 const SkMatrix& viewMatrix,
54 const SkMaskFilter*, 52 const SkMaskFilter*,
55 const SkPathEffect*, 53 const SkPathEffect*,
56 const GrStrokeInfo&, 54 const GrStrokeInfo&,
57 bool pathIsMutable); 55 bool pathIsMutable);
58 56
59 }; 57 };
60 58
61 #endif 59 #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