aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkBitmap.h
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-05-04 11:06:28 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-04 11:06:28 -0700
commitfad98562d8f9db63839a8d902a301b174320f27f (patch)
treeb7a94c15a06a7c046308264bef4a9b28e6b69e3d /include/core/SkBitmap.h
parentd9cca4a11a30f1391b56dd53ca2c6615298e2b14 (diff)
Prototype code that turns any/every flattenable into JSON
This makes inspecting things in SkDebugger far more useful - any filter or other complex object on the paint is ultimately visible. You still have to do some guess work to figure out what the fields actually mean, but you can at least cross-reference with the code in flatten(). Screenshots: Before: https://screenshot.googleplex.com/a6JM5HBBe6G.png After : https://screenshot.googleplex.com/XQfr4YJ6mnH.png Changes to public API are just removals and changes to make some functions virtual. TBR=reed@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1920423002 Review-Url: https://codereview.chromium.org/1920423002
Diffstat (limited to 'include/core/SkBitmap.h')
-rw-r--r--include/core/SkBitmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index 27a00f977e..664686619f 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -774,8 +774,8 @@ private:
static void WriteRawPixels(SkWriteBuffer*, const SkBitmap&);
static bool ReadRawPixels(SkReadBuffer*, SkBitmap*);
- friend class SkReadBuffer; // unflatten, rawpixels
- friend class SkWriteBuffer; // rawpixels
+ friend class SkReadBuffer; // unflatten, rawpixels
+ friend class SkBinaryWriteBuffer; // rawpixels
friend struct SkBitmapProcState;
};