diff options
author | Florin Malita <fmalita@chromium.org> | 2018-07-12 10:33:39 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-12 15:19:28 +0000 |
commit | e1824da6b51f33bdd67d3b823b4bfb08e711d730 (patch) | |
tree | 08d7dd9cfa00ff0be20665c8aa005ade6556a5ae /resources/images/crbug807324.png | |
parent | b774bbba2f5d8433a3b854f8f295f0375a1fc55d (diff) |
PathKit/WASM tweaks
The most interesting part is using variadic calls to push all verb data
in one native -> JS go. This speeds up SkPathToVerbsArgsArray and
SkPathToCmdArray by 30-35%.
Other misc changes:
* use SkPath::RawIter instead of Iter
* add a VisitPath helper to cut down on boiler plate
* use uintptr_t for pointer arguments (just in case we get to wasm64
some day)
Change-Id: Ia0240f0e00e81db78eb1e9b48b31abbb3e33bfaf
Reviewed-on: https://skia-review.googlesource.com/140984
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'resources/images/crbug807324.png')
0 files changed, 0 insertions, 0 deletions