Contact emails
xida...@chromium.org, ju...@chromium.org, k...@chromium.org
Spec
https://html.spec.whatwg.org/#imagebitmapoptions
Summary
ImageBitmapOptions provides control over the decoding process when creating ImageBitmaps, especially from image files like PNG and JPEG.
It is essential in order to asynchronously create ImageBitmaps for use with the WebGL API, since the images will be decoded in exactly the desired form. This will speed up texture handling for applications like Google Maps in the browser though code changes are needed to take advantage of it.
Link to “Intent to Implement” blink-dev discussion
https://lists.w3.org/Archives/Public/public-whatwg-archive/2016Feb/0008.html
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Demo link
The WebGL conformance tests at https://github.com/KhronosGroup/WebGL already contain exhaustive tests for this feature. It is currently available behind the --enable-experimental-canvas-feature flag.
Debuggability
This feature does not require special debugging support on its own.
Interoperability and Compatibility Risk
Interoperability risk is low. Firefox has shipped ImageBitmap. Other browsers have no public signals yet. Compatibility risk is low, as this does not remove or change existing features.
OWP launch tracking bug
Entry on the feature dashboard
Contact emails
xida...@chromium.org, ju...@chromium.org, k...@chromium.org
Spec
https://html.spec.whatwg.org/#imagebitmapoptions
Summary
ImageBitmapOptions provides control over the decoding process when creating ImageBitmaps, especially from image files like PNG and JPEG.
It is essential in order to asynchronously create ImageBitmaps for use with the WebGL API, since the images will be decoded in exactly the desired form. This will speed up texture handling for applications like Google Maps in the browser though code changes are needed to take advantage of it.
Link to “Intent to Implement” blink-dev discussion
https://lists.w3.org/Archives/Public/public-whatwg-archive/2016Feb/0008.html
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Demo link
The WebGL conformance tests at https://github.com/KhronosGroup/WebGL already contain exhaustive tests for this feature. It is currently available behind the --enable-experimental-canvas-feature flag.
Debuggability
This feature does not require special debugging support on its own.
Interoperability and Compatibility Risk
Interoperability risk is low. Firefox has shipped ImageBitmap.
Has there been any discussion about implementing ImageBitmapOptions in Gecko? At a quick glance, I can't find any bugzilla bugs for it (you could file one to spark discussion), and I don't see any code there yet either. Whenever we're first to ship an API, the interoperability risk is non-trivial. Just wondering what signals we have about the suitability of the API for other implementations (since there's a bunch of implementation-defined details in the graphics stack here). Has any other vendor provided input on the API design?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.