From 22266c391fbe17603b15a83d4ccf5fa9455ccf8d Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Mon, 19 Jul 2010 17:15:42 -0400 Subject: glx: Remove support for MESA_swap_frame_usage The extension never worked, the implementation returns GLX_BAD_CONTEXT when enabling the frame tracking. --- src/glx/apple/glx_empty.c | 48 ----------------------------------------------- 1 file changed, 48 deletions(-) (limited to 'src/glx/apple') diff --git a/src/glx/apple/glx_empty.c b/src/glx/apple/glx_empty.c index e19bf05d47..1569679c71 100644 --- a/src/glx/apple/glx_empty.c +++ b/src/glx/apple/glx_empty.c @@ -31,54 +31,6 @@ glXGetSwapIntervalMESA(void) } -/* -** GLX_MESA_swap_frame_usage -*/ - -int -glXBeginFrameTrackingMESA(Display * dpy, GLXDrawable drawable) -{ - int status = GLX_BAD_CONTEXT; - (void) dpy; - (void) drawable; - return status; -} - - -int -glXEndFrameTrackingMESA(Display * dpy, GLXDrawable drawable) -{ - int status = GLX_BAD_CONTEXT; - (void) dpy; - (void) drawable; - return status; -} - - -int -glXGetFrameUsageMESA(Display * dpy, GLXDrawable drawable, GLfloat * usage) -{ - int status = GLX_BAD_CONTEXT; - (void) dpy; - (void) drawable; - (void) usage; - return status; -} - -int -glXQueryFrameTrackingMESA(Display * dpy, GLXDrawable drawable, - int64_t * sbc, int64_t * missedFrames, - GLfloat * lastMissedUsage) -{ - int status = GLX_BAD_CONTEXT; - (void) dpy; - (void) drawable; - (void) sbc; - (void) missedFrames; - (void) lastMissedUsage; - return status; -} - /* ** GLX_SGI_video_sync */ -- cgit v1.2.3