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

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

Issue 1421493003: tunnel down texture-size-constraint to imagefilters (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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
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
11 #include "GrTextureProvider.h"
12
11 class GrClip; 13 class GrClip;
12 class GrContext; 14 class GrContext;
13 class GrDrawContext; 15 class GrDrawContext;
14 class GrRenderTarget; 16 class GrRenderTarget;
15 struct SkIRect; 17 struct SkIRect;
16 class SkMatrix; 18 class SkMatrix;
17 class SkPaint; 19 class SkPaint;
18 class SkPath; 20 class SkPath;
19 21
20 22
21 /** 23 /**
22 * Blur utilities. 24 * Blur utilities.
23 */ 25 */
24 namespace GrBlurUtils { 26 namespace GrBlurUtils {
25 /** 27 /**
26 * Draw a path handling the mask filter if present. 28 * Draw a path handling the mask filter if present.
27 */ 29 */
28 void drawPathWithMaskFilter(GrContext* context, 30 void drawPathWithMaskFilter(GrContext* context,
29 GrDrawContext* drawContext, 31 GrDrawContext* drawContext,
30 GrRenderTarget* rt, 32 GrRenderTarget* rt,
31 const GrClip& clip, 33 const GrClip& clip,
32 const SkPath& origSrcPath, 34 const SkPath& origSrcPath,
33 const SkPaint& paint, 35 const SkPaint& paint,
34 const SkMatrix& origViewMatrix, 36 const SkMatrix& origViewMatrix,
35 const SkMatrix* prePathMatrix, 37 const SkMatrix* prePathMatrix,
36 const SkIRect& clipBounds, 38 const SkIRect& clipBounds,
37 bool pathIsMutable); 39 bool pathIsMutable,
40 GrTextureProvider::SizeConstraint);
38 }; 41 };
39 42
40 #endif 43 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698