mirror of
https://github.com/brl/mutter.git
synced 2025-06-27 07:27:05 +00:00
2006-06-04 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-element.c: * clutter/clutter-group.c: * clutter/clutter-group.h: Work more on depth ( Z ) setting with sorting. * clutter/clutter-main.c: (clutter_redraw): Experiment with glXWaitVideoSyncSGI. Currently disabled.
This commit is contained in:
@ -260,6 +260,14 @@ clutter_redraw ()
|
||||
|
||||
if (clutter_stage_get_xwindow (stage))
|
||||
{
|
||||
#if 0
|
||||
unsigned int retraceCount;
|
||||
|
||||
// Wait for vertical retrace
|
||||
// glXGetVideoSyncSGI(&retraceCount);
|
||||
// glXWaitVideoSyncSGI(2, (retraceCount+1)%2, &retraceCount);
|
||||
glXWaitVideoSyncSGI(1, 0, &retraceCount);
|
||||
#endif
|
||||
glXSwapBuffers(ctx->xdpy, clutter_stage_get_xwindow (stage));
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user