Adapt loader to output blob for createImageBitmap
See original GitHub issueSetup: Pixi: v5 next #cb75b1d, Browser: Chrome 64.0.3282 OS: macOs 10.12.06
What happens:
I am trying to offload image decoding from the main thread to avoid bumps in framerate. Using the current version of Pixi.js next the ResourceLoader provides an HTMLImageElement
to createImageBitmap
which seems to block the main thread as opposed to createImageBitmap(Blob)
which spans a separate thread.
Code to replicate: I uploaded my test code to github which you can find here.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Adapt loader to output blob for createImageBitmap · Issue #4611
What happens: I am trying to offload image decoding from the main thread to avoid bumps in framerate. Using the current version of...
Read more >Developers - Adapt loader to output blob for createImageBitmap -
Adapt loader to output blob for createImageBitmap · Setup: Pixi: v5 next #cb75b1d, Browser: Chrome 64.0.3282 · What happens: I am trying to...
Read more >580202 - createImageBitmap should perform decoding on a ...
Make decoding of createImageBitmap(Blob) work on a background thread ... It is possible that the dev-tools instrumentation needs to adapt to this change....
Read more >createImageBitmap() - Web APIs | MDN
The createImageBitmap() method creates a bitmap from a given source, optionally cropped to contain only a portion of that source.
Read more >third_party/blink/web_tests/TestExpectations - chromium/src
An extra line ("linear_memory_inspector") appears in the output in some cases. ... color-space/canvas-createImageBitmap-e_srgb.html [ Pass Failure Timeout ].
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m slowly digging through all the source code but still missing the whole picture. I’ll submit a pull request whenever I am ready.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.