W liście z wto, 30-09-2003, godz. 19:29, Alan Hourihane pisze:
BTW: As I'am working on stereo now I need to allocate additional
buffers for left eye buffers. Currently I allocate them whenever
TransitionTo3D is called, but I think it would be quite useful if I
would add TransitionToStereo/Mono functions and allocate/free them then.
I looked at DRICreatedrawable code but I have no clue how to check
whether drawable is stereo (if it does make sense). I think I can do it
by checking Visual, but no clue how to get it. Can someone give me some
clues.
Look in the CreateContext routines to see how to check visuals.
Alan.
Ok I got it, but I have a question. In DRITransitionXXXXX functions in dri.c DRIClipNotifyAllDrawables is called. I don't quite understand purpose of this functions but I think it should also get called in my DRITransitionToStereo/Mono as functionality is more less the same as DRITransitiontoShared/PrivateBuffers. Correct me if I'm wrong.
This function sets a flag in shared memory to let each client know that their cliprects have changed. When they next grab the lock, they'll notice this and issue a request to the X server to get the current cliprects.
Keith
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel