W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2011

[whatwg] Need clarification on DOM exceptions thrown by canvas 2D drawImage

From: Glenn Maynard <glenn@zewt.org>
Date: Tue, 9 Aug 2011 12:40:30 -0400
Message-ID: <CABirCh9=Jm8u6H8JeW=uHix4Ai0ayt7B1zDrcKbTS3pr3fyanw@mail.gmail.com>
On Tue, Aug 9, 2011 at 11:56 AM, Boris Zbarsky <bzbarsky at mit.edu> wrote:

> On 8/9/11 11:29 AM, Justin Novosad wrote:
>
>> I second that. And in support of the spec, let me just say that the
>> clamp-to-edge is essential for many existing canvas-based games that
>> use large images as sprite maps.  Without clamping to the edge of the
>> source rectangle
>>
>
> We're talking about clamping to the edge of the backing store, not clamping
> to the edge of the source rectangle, unless I missed something.  There's no
> clamping to the edge of the source rectangle specified in the spec, as far
> as I can tell.
>

It sounds like it would make fast GPU-accelerated blitting difficult, even
in fairly simple cases.

-- 
Glenn Maynard
Received on Tuesday, 9 August 2011 09:40:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:08 UTC