diff options
author | Kevin Lubick <kjlubick@google.com> | 2018-09-20 17:39:31 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-09-21 12:03:55 +0000 |
commit | 217056c04885914101c403cb7e4bc09d7902d5bc (patch) | |
tree | fc848259c217d38affdc5024019b37fd9379c238 /src/effects | |
parent | 38ca6d509d9f7b0db55ae747c28ca373d6143250 (diff) | |
download | skqp-217056c04885914101c403cb7e4bc09d7902d5bc.tar.gz |
[CanvasKit] Implement some basic Canvas/Surface things.
drawText is having issues in a release build. Skottie sometimes
asserts in debug mode. This possibly has something to do with
memory alignment - like https://skia-review.googlesource.com/c/skia/+/155980
helped fix.
Patchset 9 shows off integrating Skia drawing to
an HTML canvas using Ganesh.
To see it locally, set up https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html
and then set $EMSDK to be that directory. Then run
make clean
make local-example
and navigate to http://localhost:8000/skia-wasm/example.html
Patchset 20 shows off Skottie animating directly to a Canvas.
Docs-Preview: https://skia.org/?cl=153882
Bug: skia:
Change-Id: I2ad2f4ffac00925ee901982ccbaeb7aa63b1ea23
Reviewed-on: https://skia-review.googlesource.com/153882
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/SkDashPathEffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp index cc414f7c16..8c4abdd2e5 100644 --- a/src/effects/SkDashPathEffect.cpp +++ b/src/effects/SkDashPathEffect.cpp @@ -375,7 +375,7 @@ void SkDashImpl::flatten(SkWriteBuffer& buffer) const { sk_sp<SkFlattenable> SkDashImpl::CreateProc(SkReadBuffer& buffer) { #ifdef WEB_ASSEMBLY - // Should not be reachable by WebAssembly Code. + // Should not be reachable by PathKit WebAssembly Code. SkASSERT(false); return nullptr; #else |