Re: [Fresco-devel] animation

Jay McCarthy <[email protected]>
Newsgroups gmane.comp.video.fresco.devel
Message-ID <1025443189.917.16.camel@gonzo>
On Sun, 2002-06-30 at 09:02, Nick Lewycky wrote:
> So I had the chance to sleep and realized that it's not as simple as I 
> thought the night before.
> 
> I wrote:
> > block waiting for either an event or fresh damage
> 
> How do I go about blocking for either one of these two things?
> 
> I suggested adding the ability to do a non-blocking request to the Event 
> Manager that would process events without waiting. Unfortunately, if I 
> want to do a wait until event or damage, the server would have to sit in 
> a polling loop. That's not very good at all.
> 
> The next closest thing I could think of is blocking for events for no 
> longer than a third of a second. After which point, we poll for damage. 
> If there's either deal with it. Otherwise block for another third of a 
> second. This is more like what the code does now, but I want to remove 
> the 33fps cap if possible, and process events&damage as soon as they 
> arrive, if possible.
> 
> Any ideas?

Would it be stupid and lurker-ish to suggest that damage generate an
event and thus the code would remain the same? Disclaimer: I do not know
what I am talking about, the only Fresco things I've done is simple
clients when it was Berlin.

Jay

-- 
Jay McCarthy <[email protected]>
aim: rasarasda / irc: feelicks
http://www.brunswickrecords.org/~jay/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.