Commit Graph

2 Commits

Author SHA1 Message Date
Kevin Lubick
df398c5552 [canvaskit] Fix demo image link
Assets are served from /demo not /demos
6be53e5cdf/demos/go/demoserver/main.go (L145)

Change-Id: I48b8f1a5c5320c9eb5acda25178b2e080ca17fcd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/415165
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2021-06-03 12:57:50 +00:00
Kevin Lubick
7b6a92818d [canvaskit] Add Surface.makeFromTexture
This includes a helper Surface.makeFromTextureSource that will
make the gl calls with some sensible defaults.

Change-Id: I31bb2f3118b4749e77fb1fc2cb013d35ccb7cfce
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/413336
Reviewed-by: Brian Osman <brianosman@google.com>
2021-06-03 12:29:07 +00:00