skia2/demos.skia.org/demos/path_performance
Elliot Evans 1a4107a32a Add path rendering performance demo to demos.skia.org
In this demo the user may choose between one of three path rendering methods
    1. SVG
    2. Canvas2D Path2D API
    3. CanvasKit

SVGs is animated using css transforms on the main thread, while Canvas2D and CanvasKit are animated
in a worker using OffscreenCanvas.

While the user views the result of the rendering, the demo collects framerate data and displays it
so the user may compare the performance of the three methods.

Change-Id: I8cd6e079bab8815614e09a276cfe78bee9557fda
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/309327
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-08-11 19:57:08 +00:00
..
garbage.svg Add path rendering performance demo to demos.skia.org 2020-08-11 19:57:08 +00:00
index.html Add path rendering performance demo to demos.skia.org 2020-08-11 19:57:08 +00:00
main.js Add path rendering performance demo to demos.skia.org 2020-08-11 19:57:08 +00:00
shared.js Add path rendering performance demo to demos.skia.org 2020-08-11 19:57:08 +00:00
worker.js Add path rendering performance demo to demos.skia.org 2020-08-11 19:57:08 +00:00