W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2012

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 18 Apr 2012 00:12:49 -0400
Message-ID: <4F8E3F41.3070707@mit.edu>
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
Received on Tuesday, 17 April 2012 21:12:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT