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

Unified Diff: include/core/SkDevice.h

Issue 463493002: SkCanvas::drawPatch param SkPoint[12] (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Removed GPU headers from GM Created 6 years, 4 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 | « include/core/SkCanvas.h ('k') | include/core/SkPatch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDevice.h
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index 3d79a6517f86a9c1ca54bc099b029768fbd82e6a..de2f8ddd3581c3570b2230895d84e8610077bdb3 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -243,7 +243,8 @@ protected:
const uint16_t indices[], int indexCount,
const SkPaint& paint) = 0;
// default implementation calls drawVertices
- virtual void drawPatch(const SkDraw&, const SkPatch& patch, const SkPaint& paint);
+ virtual void drawPatch(const SkDraw&, const SkPoint cubics[12], const SkColor colors[4],
+ const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint);
/** The SkDevice passed will be an SkDevice which was returned by a call to
onCreateDevice on this device with kSaveLayer_Usage.
*/
« no previous file with comments | « include/core/SkCanvas.h ('k') | include/core/SkPatch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698