[libavg-devel] Re: Div Node Rotations Patch

Ulrich von Zadow uzadow at libavg.de
Fri Oct 5 00:16:26 CEST 2007


Ulrich von Zadow schrieb:

> Nick Hebner schrieb:
>> Well after a busy few days, I have finally found some time to work on 
>> this again. I have found that the problem that manifested itself after 
>> the words test is related to the change of resolution that this test 
>> caused. All of the other tests used the same resolution except 
>> testWords, and for some reason this caused problems with later tests. 
>> The  only thing that I have found to fix this is to delete the display 
>> engine on Player::stop() (shutting down the entire SDL system), and 
>> recreate it on Player::play(). I don't really like this, but it seems 
>> to work for now.
> 
> Hm. I don't like that either, for two reasons. The first is that we're
> probably hiding a state bug in that way (I assume that either OpenGL
> state or SDLEngine state is broken at the end of playback), and the
> second is that the tests now take twice as long to execute.

I did some work on this issue and it only appears under Linux - Mac OS X 
is unaffected. My suspicion is that it's a bug somewhere in SDL or the 
linux graphics subsystem that kills the stencil setup on a window 
resize. I've changed the workaround to reset the SDL library only under 
linux and only when the window size actually changes. That way, the 
tests run almost as quickly as before :-).

Anyway, Nick, if you still want to work on this, that would be great. 
Otherwise, I'll pick up from here. It might take some time, though.

Cheers,

   Uli

-- 

Ulrich von Zadow | +49-172-7872715 | cocacoder at jabber.berlin.ccc.de




More information about the libavg-devel mailing list