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

Unified Diff: src/gpu/GrBlurUtils.h

Issue 1424313010: Separate out natively-texture image/bmp draws from cached-as-texture image/bmp draws (Closed) Base URL: https://skia.googlesource.com/skia.git@const
Patch Set: update Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/GrBlurUtils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrBlurUtils.h
diff --git a/src/gpu/GrBlurUtils.h b/src/gpu/GrBlurUtils.h
index 0fc77266b0024f006d1f89c314acabca20077bed..d64f4924737b362212f0ab03c11ab21f2917bb9c 100644
--- a/src/gpu/GrBlurUtils.h
+++ b/src/gpu/GrBlurUtils.h
@@ -11,11 +11,15 @@
class GrClip;
class GrContext;
class GrDrawContext;
+class GrPaint;
class GrRenderTarget;
+class GrStrokeInfo;
struct SkIRect;
+class SkMaskFilter;
class SkMatrix;
class SkPaint;
class SkPath;
+class SkPathEffect;
/**
@@ -35,6 +39,22 @@ namespace GrBlurUtils {
const SkMatrix* prePathMatrix,
const SkIRect& clipBounds,
bool pathIsMutable);
+
+ /**
+ * Draw a path handling the mask filter. The mask filter is not optional. The path effect is
+ * optional. The GrPaint will be modified after return.
+ */
+ void drawPathWithMaskFilter(GrContext*,
+ GrDrawContext*,
+ GrRenderTarget*,
+ const GrClip&,
+ const SkPath& path,
+ GrPaint*,
+ const SkMatrix& viewMatrix,
+ const SkMaskFilter*,
+ const SkPathEffect*,
+ const GrStrokeInfo&);
+
};
#endif
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/GrBlurUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698