[Webkit-unassigned] [Bug 57960] [Chromium] Accelerated 2D Canvas is slow to execute putImageData

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 6 10:27:45 PDT 2011


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





--- Comment #1 from Stephen White <senorblanco at chromium.org>  2011-04-06 10:27:45 PST ---
(In reply to comment #0)
> In Chromium, with accelerated Canvas enabled, display a web page that relies heavily on putImageData for rendering such as the following Chrome experiment:
> http://www.chromeexperiments.com/detail/back-to-visuals/?f=
> 
> Notice that it runs much, much slower than with the accelerated canvas disabled.
> 
> The current implementation of putImageData forces a readback from the GPU. The readback would not be necessary with a GPU-aware implementation.
> 
> Related Chromium bug:
> http://code.google.com/p/chromium/issues/detail?id=78176

Another speedup could be gained by doing the unpremultiply step on the GPU (in a shader), but that can wait for another patch.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list