[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] Re: heart-beating
From: |
strk |
Subject: |
[Gnash-dev] Re: heart-beating |
Date: |
Thu, 10 Jul 2008 18:41:39 +0200 |
Heart-beating is now committed to trunk.
Regressions bugs welcome.
Oh, btw, one is a single introduced failure in
misc-ming.all/intervalTest, known one.
--strk;
On Thu, Jul 10, 2008 at 02:44:52PM +0200, strk wrote:
> After a talk with zou about MovieAdvancement issues
> [http://wiki.gnashdev.org/MovieAdvancement]
> we decided to try the heart-beating way.
>
> Basically, movie_root::advance() won't assume to be
> called on SWF FPS rate anymore, but instead would check
> the VirtualClock to decide wheter or not to advance the
> movie, but will take a chance to run expired timers.
>
> Beside behavioural correctness for user-defined timers,
> this will also fix a few issues on dynamically loaded
> media rate, as we won't need that to be bound to SWF
> frame rate anymore. Also, it opens the doors to thread-less
> loading of resources since I committed a non-blocking
> interface of IOChannel.
>
> Keeping the ::advance() signature and the single entry
> point drops the need to touch every gui. The only change
> required will be in Player, where a default initial rate
> of 10ms delay will be used.
>
> Later we can fine-tune timers to eventually optimize
> time spent on checking what's left to do.
>
> Comments welcome.
>
> --strk;
>
> () ASCII Ribbon Campaign
> /\ Keep it simple!
--
() ASCII Ribbon Campaign
/\ Keep it simple!