hi doug,

lots of good ideas in the thread so far. my gut feeling is similar
to yours, that it is a threading thing, but it's hard to diagnose
from a distance. :)

one thing you could do is expressly set each channel's clear color
differently, to try to see if state is leaking from one context
to another. so, set one to red, another blue, another green, and see
if when you see the flash, that maybe the color might inidicate
which (or if) another context's state is leaking. if so, it implies
some sort of thread confusion, that for a moment, one set of state
is being applied in the wrong context.

other than that, you could try logging clears from the clearnodes,
or running through a debugger to see what happens in each thread
wrt what gl calls are issued, and when. you should be able to see
a context made current, and a set of initial state happen (including
clear color, if you've got a clearnode), and then the actual clear.
the mac opengl debugger makes this sort of process relatively easy.

anyway, just a few thoughts for a hot friday afternoon. good luck!
bob

bob kuehne
founder and ceo - blue newt software, llc
[EMAIL PROTECTED] - 734/834-2696





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to