Hi all,

I'm working with the intel chipset. 

I want to use the function glXSwapBuffers with a vertical synchronisation. 

But when I call glXSwapBuffers, glXSwapBuffers call the function 
dri2SwapBuffers which is in the file 
...\mesa-7.4.0-1\src\mesa\src\glx\x11\dri2_glx.c. But, I want to use the 
function intelSwapBuffers 
(...\mesa-7.4.0-1\src\mesa\src\mesa\drivers\dri\intel\intel_swapbuffers.c). 

So I think that glXSwapBuffers must call the function driSwapBuffers 
(...\mesa-7.4.0-1\src\mesa\src\glx\x11\dri_glx.c). And I think that 
driSwapBuffers of the dri_glx.c file call the function driSwapBuffers which is 
in the file ...\mesa-7.4.0-1\src\mesa\src\mesa\drivers\dri\common\dri_util.c. 
And to finish this function driSwapBuffers of dri_util.c call the function 
intelSwapBuffers.

is it right ?

If yes, how to do to use the function driSwapBuffers instead dri2SwapBuffers in 
glXSwapBuffers ?
Else , somebody can explain me how to use the function glXSwapBuffers with a 
vertical synchronisation ?

 
Thanks, nicolas


      
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to