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

Unified Diff: include/gpu/GrDrawContext.h

Issue 1157773003: Move SkGpuDevice::internalDrawPath to GrBlurUtils::drawPathWithMaskFilter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: include/gpu/GrDrawContext.h
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
index 1ed99c1891a1a2178de90bc0a2ee662c88f2e78f..c0309fdf6077e195f7c5d81c8df2870c9fc2d722 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -25,6 +25,7 @@ class GrSurface;
struct SkIPoint;
struct SkIRect;
class SkMatrix;
+class SkPaint;
class SkPath;
struct SkPoint;
struct SkRect;
@@ -176,6 +177,20 @@ public:
const SkPath&,
const GrStrokeInfo&);
+
+ /**
+ * Draw a path handling the mask filter if present.
+ */
+ void drawPathFull(GrContext* context,
joshualitt 2015/05/27 15:02:29 drawPathWithMaskFilter? Kind of a mouthful, but a
bsalomon 2015/05/27 15:15:55 Hm... I feel like this is really blurring (get it?
robertphillips 2015/05/27 15:55:23 Done.
+ GrRenderTarget* rt,
+ const GrClip& clip,
+ const SkPath& origSrcPath,
+ const SkPaint& paint,
+ const SkMatrix& origViewMatrix,
+ const SkMatrix* prePathMatrix,
+ const SkIRect& clipBounds,
+ bool pathIsMutable);
+
/**
* Draws vertices with a paint.
*

Powered by Google App Engine
This is Rietveld 408576698