[Webkit-unassigned] [Bug 235002] readPixels directly to ArrayBuffer has very high CPU usage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 30 14:39:21 PDT 2022


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

--- Comment #11 from Simon Taylor <simontaylor1 at ntlworld.com> ---
(In reply to Gregg Tavares from comment #9)
> fyi: In my experiments if you render to your own texture (via a framebuffer)
> you'll get your speed back. Based on the trace above my guess it's the
> IOSurfaceLock/Unlock causing the slowdown. That's only needed for reading
> the canvas itself, not for reading your own texture.
> 
> Of course we should optimize reading the canvas too, just pointing out a
> possible workaround.

Thanks Gregg. I did eventually discover that myself in Comment 6.

-- 
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/20220330/fa4f5d2f/attachment-0001.htm>


More information about the webkit-unassigned mailing list