[whatwg] [canvas] request for {create, get, put}ImageDataHD and ctx.backingStorePixelRatio

Charles Pritchard chuck at jumis.com
Mon Apr 16 11:22:30 PDT 2012


On 4/16/2012 11:17 AM, Oliver Hunt wrote:
> Anyway, the sensible approach to imagedata + hardware backed canvas is to revert to a software backed canvas, as once someone has used imagedata once, they're likely to do it again (and again, and again) so it is probably a win to just do everything in software at that point.  Presumably you could through in heuristics to determine whether or not it's worth going back to the GPU at some point, but many of the common image data use cases will have awful perf if you try to keep them on the GPU 100% of the time.

The RiverTrail and W16 projects suggest that we'll have a landscape with 
multiple cores, eventually, to work on image data chunks.
Simple instructions can be transformed; simple filters such as Color 
Matrix filters could be compiled to work on the GPU.

Not saying it'll happen, but there are proof of concept projects out there.

-Charles



More information about the whatwg mailing list