From: Nicolas C. <nic...@ym...> - 2009-08-12 13:00:20
|
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 |