Add support for drawImageLattice in SKIA debugger
Add support in SKIA debugger for SkCanvas.drawImageLattice calls.
Test: Tested with an SKP from android settings app.
Change-Id: I3f39f353dca8a3a2854241e7ef995d4d8c635f3e
Reviewed-on: https://skia-review.googlesource.com/6882
Commit-Queue: Stan Iliev <stani@google.com>
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
diff --git a/tools/debugger/SkObjectParser.h b/tools/debugger/SkObjectParser.h
index 4805179..2532c5c 100644
--- a/tools/debugger/SkObjectParser.h
+++ b/tools/debugger/SkObjectParser.h
@@ -129,6 +129,12 @@
*/
static SkString* TextToString(const void* text, size_t byteLength,
SkPaint::TextEncoding encoding);
+
+ /**
+ Returns a string representation of the SkCanvas::Lattice.
+ @param lattice SkCanvas::Lattice
+ */
+ static SkString* LatticeToString(const SkCanvas::Lattice& lattice);
};
#endif