commit | 9e40e6fa796bc48f0015680ad70636667b2e8ace | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Mon Oct 22 12:08:22 2018 -0400 |
committer | Kevin Lubick <kjlubick@google.com> | Mon Oct 22 16:55:34 2018 +0000 |
tree | 829dc35ea286cb250282147b09ed6e298d3ad8d0 | |
parent | bf612c61324fc373c60fb5cbc329733ed2887181 [diff] |
Give attribution Bug: skia:8488 Change-Id: If96c6bb500ceb0bf4b41c9b3aaf10aa9ad301c70 Reviewed-on: https://skia-review.googlesource.com/c/164260 Reviewed-by: Heather Miller <hcm@google.com>
diff --git a/experimental/canvaskit/canvaskit_bindings.cpp b/experimental/canvaskit/canvaskit_bindings.cpp index fcf0042..28832fb 100644 --- a/experimental/canvaskit/canvaskit_bindings.cpp +++ b/experimental/canvaskit/canvaskit_bindings.cpp
@@ -50,6 +50,8 @@ #if SK_SUPPORT_GPU // Wraps the WebGL context in an SkSurface and returns it. +// This function based on the work of +// https://github.com/Zubnix/skia-wasm-port/, used under the terms of the MIT license. sk_sp<SkSurface> getWebGLSurface(std::string id, int width, int height) { // Context configurations EmscriptenWebGLContextAttributes attrs;