Re: Canvas capture update

On Wed, Aug 12, 2015 at 3:11 PM, Harald Alvestrand <harald@alvestrand.no> wrote:
>
> Since I'm sure others are as ignorant as I am about how Canvas actually
> works:
>
> When is a canvas painted?
> Is this a display-triggered event or a Javascript-triggered event?
>
> If the former, I have worries about what happens with non-rendered canvases.
> If the latter, I have a host of different questions.


It's display triggered.

I think we should say that if the user agent is not rendering the
canvas for some
reason, it MUST keep capturing new frames as if it is still rendering
the canvas.

I suggested this in the pull request, and it's also how the patches currently
in [1] work.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1161913

Received on Friday, 14 August 2015 19:11:12 UTC