DescriptionPrototype 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
Committed: https://skia.googlesource.com/skia/+/fad98562d8f9db63839a8d902a301b174320f27f
Patch Set 1 #Patch Set 2 : Null check #Patch Set 3 : Interfacification. Tweaks to SkPaint and ordering of name vs. fields #
Total comments: 2
Patch Set 4 : Fix compile errors #
Total comments: 16
Patch Set 5 : Rebase and review feedback #
Total comments: 1
Patch Set 6 : Whitespace fix #Patch Set 7 : Share lots more code with SkDrawCommand #
Total comments: 28
Patch Set 8 : Move stateless shared API back to SkWriteBuffer #Patch Set 9 : Rebase #Patch Set 10 : Minor tweaks #
Total comments: 2
Patch Set 11 : Fix copyright dates in new files #
Messages
Total messages: 49 (20 generated)
|