[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] How to set a canvas backing store to display units?

On Tue, Jun 19, 2012 at 6:11 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

On 6/19/12 12:05 AM, Gregg Tavares (社用) wrote:
Wow, what a crappy api. That's likely to break every page using
getImageData and putImageData

That's sort of what roc and I said back in http://lists.w3.org/Archives/Public/public-whatwg-archive/2009May/0451.html a few years ago, yes.

We'll see if we were right... ;)
Of course you are, it's pretty easy to see how a user expecting to read a 16x16 pixel buffer, but getting a 32x32 pixel buffer, is gonna have borked code.