[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] RequestAnimationFrame stops updating after hitting a breakpoint
- To: Mikko Mononen <mikko@tinkercad.com>
- Subject: Re: [Public WebGL] RequestAnimationFrame stops updating after hitting a breakpoint
- From: James Robinson <jamesr@google.com>
- Date: Tue, 8 Feb 2011 12:24:03 -0800
- Cc: public_webgl@khronos.org
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1297196645; bh=MwVPbu+YJrQnDDq5jxE9bQB9Fjg=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=QjvKgtuaTvWZyiL5Y8bjB3cvhlssW1trseG1+QKEEwFlXK3wTAMYTOUpWXPE/32II 93NQM9Ky3LOjQ7Pdy5MuQ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=uIaupp7MoUYa3J/XnyxAIEvtyV7FvtwF38nkBUlrWTw=; b=ZfjSOZ2LuQoZHzmn1SEGnv6ySQ15VvtAkrOAspq3eKntepC7G9/saIoymLJUMZ9J3P EOHagH/rESPTC8wY4iBA==
- Domainkey-signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Lp+GpbtcpEqyjvGqcG9kfgRJtLE2k27c5JOrDm6K0HsY/8cWpA0/iId4fLe2HDiMoN yFUeKIWcYtxdv6QiuJyQ==
- In-reply-to: <AANLkTimx3rqBd7GeXuc9br8VVD+Q0z_0y7Aapo2h-twa@mail.gmail.com>
- List-id: Public WebGL Mailing List <public_webgl.khronos.org>
- References: <AANLkTimx3rqBd7GeXuc9br8VVD+Q0z_0y7Aapo2h-twa@mail.gmail.com>
- Sender: owner-public_webgl@khronos.org
On Tue, Feb 8, 2011 at 4:10 AM, Mikko Mononen
<mikko@tinkercad.com> wrote:
Hi,
I just recently updated our code to use requestAnimationFrame()
instead of a timer. I'm using the wrapper available from WebGL FAQ
(http://www.khronos.org/webgl/wiki/FAQ). The wrapper finds and uses
"webkitRequestAnimationFrame".
If I hit a breakpoint inside the render function, step through some
code and press continue, the screen stops updating (sometimes the
browser aww-snaps too). I call requestAnimationFrame() the first thing
when entering the rendering function. I'm using Chrome 10.0.648.18
dev, OSX 10.6.6 and ATI HD2600.
Is this a bug, or something I have to live with, and if so is there
some workaround to this?
This sounds a lot like a bug that I'm working on resolving right now. I hope to have a fix in the Chrome dev channel soon.
- James
--mikko
--
Mikko Mononen, Software Engineer
http://tinkercad.com - The unprofessional solid CAD
-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------