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

Unified Diff: src/utils/debugger/SkObjectParser.h

Issue 1311523003: Update debugger print out of drawImageRect information (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 | « src/utils/debugger/SkDrawCommand.cpp ('k') | src/utils/debugger/SkObjectParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/debugger/SkObjectParser.h
diff --git a/src/utils/debugger/SkObjectParser.h b/src/utils/debugger/SkObjectParser.h
index da842653ffc6dc78ad59677055783794ca4d6e83..c4d0da0bf8b1137b16d2e09dc89630052d9bfc6b 100644
--- a/src/utils/debugger/SkObjectParser.h
+++ b/src/utils/debugger/SkObjectParser.h
@@ -20,12 +20,18 @@ class SkObjectParser {
public:
/**
- Returns a string about a bitmaps bounds and colortype.
+ Returns a string about a bitmap's bounds and colortype.
@param bitmap SkBitmap
*/
static SkString* BitmapToString(const SkBitmap& bitmap);
/**
+ Returns a string about a image
+ @param image SkImage
+ */
+ static SkString* ImageToString(const SkImage* image);
+
+ /**
Returns a string representation of a boolean.
@param doAA boolean
*/
« no previous file with comments | « src/utils/debugger/SkDrawCommand.cpp ('k') | src/utils/debugger/SkObjectParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698