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

Unified Diff: src/gpu/SkGpuDevice.h

Issue 1012143005: Simple patch to have draw path call an internal drawPath (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/SkGpuDevice.h
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index 50aa58685fbc384cc66fbc6d03adf3b9c16b3786..7de7e34cf1ef8980a387f75793f75290a02cffa1 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -123,6 +123,12 @@ public:
const SkImageFilter::Context&,
SkBitmap* result, SkIPoint* offset);
+ // This call is *ONLY* for SkGpuDevice itself, and the TextContexts.
jvanverth1 2015/03/18 17:44:17 Make this private and make the TextContexts that n
+ // TODO refactor this logic to the context level
+ void internalDrawPath(const SkPath& origSrcPath, const SkPaint& paint,
+ const SkMatrix& origViewMatrix, const SkMatrix* prePathMatrix,
+ const SkIRect& clipBounds, bool pathIsMutable);
+
protected:
bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OVERRIDE;
bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int) SK_OVERRIDE;
« no previous file with comments | « no previous file | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698