View Single Post
Old 10-29-09, 11:17 AM   #5
Paul1492
Registered User
 
Join Date: Feb 2007
Posts: 25
Default Re: VSYNC Frame Counter

I've enabled FRAMELOCK (and toggled the test signal). I then do this:
Quote:
static void do_FrameCount(Display *dpy)
{
int loop = 100000000;
GLuint count;
while (loop > 0)
{
GLuint lastcount = count;
glXQueryFrameCountNV(dpy, XDefaultScreen(dpy), &count);
if (count != lastcount)
fprintf(stderr, "COUNT = %u\n", count);
--loop;
}
}
With my output being the following over a minute time period:
Quote:
COUNT = 138816840
COUNT = 7845976
COUNT = 138816840
COUNT = 7845976
COUNT = 138816840
COUNT = 7845976
COUNT = 138816840
COUNT = 7845976
COUNT = 138816840
I tried this on a couple of my systems with the same result.

Any idea what is going on?
Paul1492 is offline   Reply With Quote