[Webkit-unassigned] [Bug 241402] Decoded image data is not reused by canvas causing long task blocking on the main thread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 15 23:52:04 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=241402

--- Comment #2 from Kimmo Kinnunen <kkinnunen at apple.com> ---
Thanks for the test-case!
For WebKit internals:
The long duration after initial decode() is due to the way WP transfers the data to GPUP the first time. The new NativeImage gets sent over to GPUP during this duration.

There are at least 3 different undesirable behaviors in WebKit:
1. initial draw after decode() is slow
2. Multiple .src assignments and decode()s are slow for same url. 
3. Big getImageData() is slow (10ms on WebKit, ~0ms on Firefox)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220816/344982d0/attachment.htm>


More information about the webkit-unassigned mailing list