skia2/modules
Gregg Tavares 5f9ec39daf Wrap SkImage into HTMLImage
Canvas-wasm says it's a drop in replacement for the Canvas API.
Unfortunately HTMLCanvas.decodeImage returns an SkImage which
has functions width() and height() for getting the width and height
of an image whereas HTMLImageElement has properties width and height.

Lots of existing code uses width and height so wrapping this
would seem to make it more closely match expectations.

Bug: skia:12705
Change-Id: I62c4f655c58f6806e836700e03b946a91f3e518d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/479936
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2021-12-06 20:05:42 +00:00
..
androidkit [JetSki] get TypeFace from FontMgr 2021-10-20 19:33:30 +00:00
audioplayer implement SkAudioPLayer for Android 2020-12-15 00:12:48 +00:00
canvaskit Wrap SkImage into HTMLImage 2021-12-06 20:05:42 +00:00
particles Create a public base class for debug traces. 2021-12-06 18:22:51 +00:00
pathkit [infra] Deduplicate serve.py 2021-10-12 11:42:50 +00:00
skottie [skottie] Fix mask feather tiling 2021-11-29 22:50:06 +00:00
skparagraph [infra] Add SkParagraph (harfbuzz, ICU) to Canvaskit Bazel build. 2021-11-30 21:01:06 +00:00
skplaintexteditor Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
skresources [bazel] Try adding cc_binary rules that use generated rules 2021-11-30 18:18:53 +00:00
sksg Pass CTM to path effects (experimental) 2021-07-13 18:42:55 +00:00
skshaper [infra] Add SkParagraph (harfbuzz, ICU) to Canvaskit Bazel build. 2021-11-30 21:01:06 +00:00
skunicode [infra] Add SkParagraph (harfbuzz, ICU) to Canvaskit Bazel build. 2021-11-30 21:01:06 +00:00
svg [bazel] Try adding cc_binary rules that use generated rules 2021-11-30 18:18:53 +00:00
BUILD.bazel [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00