diff options
author | Florin Malita <fmalita@chromium.org> | 2018-06-14 11:24:50 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-14 15:49:57 +0000 |
commit | ae2527964f349c5dd756f847b63fc82e17913204 (patch) | |
tree | ca3967d64b3bf206a36e7d3a146e51f66cdc58eb /modules/skshaper | |
parent | 5ff4fb286ce3557a811fbaaaf0600f7cab1a435c (diff) |
Reland [skjson] Implementation/API tweaks
* move most common accessor methods to the header, for inlining
* drop the lazy type checking semantics in favor of explicit guarded/unguarded
conversions
* revisit the public class hierarchy to better constrain type-bound APIs
* expose public type factories and add tests
* drop the empty-vector optimization -- allocating an external size_t in these
uncommon cases is better than paying for a conditional on every access.
TBR=
Change-Id: Ic609bb74f12cad1756865a2489ad56c03ecc5494
Reviewed-on: https://skia-review.googlesource.com/134845
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'modules/skshaper')
0 files changed, 0 insertions, 0 deletions