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

Unified Diff: src/core/SkLiteDL.h

Issue 2205273003: Add onDrawBitmapLattice(), avoid unnecessary bitmap->image copy (Closed) Base URL: https://skia.googlesource.com/skia.git@copypaste
Patch Set: Add support for SkLiteRecorder Created 4 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
Index: src/core/SkLiteDL.h
diff --git a/src/core/SkLiteDL.h b/src/core/SkLiteDL.h
index 27e3479e0378e7eeb71045cf1917a3b2f7cec7c3..aa4dea480ac94f057a45b3a4f731b79f74dd389d 100644
--- a/src/core/SkLiteDL.h
+++ b/src/core/SkLiteDL.h
@@ -63,6 +63,8 @@ public:
void drawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, const SkPaint*);
void drawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*,
SkCanvas::SrcRectConstraint);
+ void drawBitmapLattice(const SkBitmap&, const SkCanvas::Lattice&, const SkRect&,
+ const SkPaint*);
void drawImage (const SkImage*, SkScalar,SkScalar, const SkPaint*);
void drawImageNine(const SkImage*, const SkIRect&, const SkRect&, const SkPaint*);
« no previous file with comments | « src/core/SkDevice.cpp ('k') | src/core/SkLiteDL.cpp » ('j') | src/core/SkLiteDL.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698