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

Boris Zbarsky bzbarsky at MIT.EDU
Tue Apr 17 21:12:49 PDT 2012


On 4/17/12 6:32 PM, Darin Fisher wrote:
> In Chrome at least, getImageData() doesn't actually block to fetch pixels.
>   The thread is only blocked when the first dereference of the pixel buffer
> occurs.

How does that interact with paints that happen after the getImageData 
call?  Or is the point that you send off an async request for a pixel 
snapshot but don't block on it returning until someone tries to reach 
into the pixel buffer?

-Boris



More information about the whatwg mailing list