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:
Matthew Allum
2006-06-04 22:09:18 +00:00
parent ba09979db0
commit 1d16ef11ca
5 changed files with 112 additions and 20 deletions

View File

@ -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