You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While profiling in Chrome, I noticed quite a few ms being spent in decoding satellite images on the main thread. Using ImageBitmap this decoding could be offloaded to the background. ImageBitmap is currently supported by Firefox, Chrome & Opera.
"The problem with decoding images is that it can be CPU intensive, and that can sometimes mean jank or checkerboarding. As of Chrome 50 (and in Firefox 42+) you now have another option: createImageBitmap(). It allows you to decode an image in the background, and get access to a new ImageBitmap primitive, which you can draw into a canvas in the same way you would an element, another canvas, or a video."
The text was updated successfully, but these errors were encountered:
While profiling in Chrome, I noticed quite a few ms being spent in decoding satellite images on the main thread. Using ImageBitmap this decoding could be offloaded to the background. ImageBitmap is currently supported by Firefox, Chrome & Opera.
https://developers.google.com/web/updates/2016/03/createimagebitmap-in-chrome-50
The text was updated successfully, but these errors were encountered: