summaryrefslogtreecommitdiffstats
path: root/src/glx/dri2.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-09-25 12:15:19 -0700
committerEric Anholt <eric@anholt.net>2012-10-09 14:32:03 -0700
commit811602885bb5fa56f04927c29b882675e7ff311c (patch)
tree90fdcfdb6a81c65213d6a5d19d24119418ef4399 /src/glx/dri2.c
parent7acf8ae0e1ed295fc1550f14e8ca812ba4f8af1f (diff)
downloadexternal_mesa3d-811602885bb5fa56f04927c29b882675e7ff311c.zip
external_mesa3d-811602885bb5fa56f04927c29b882675e7ff311c.tar.gz
external_mesa3d-811602885bb5fa56f04927c29b882675e7ff311c.tar.bz2
glx: Replace DRI2SwapInterval custom protocol with XCB.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'src/glx/dri2.c')
-rw-r--r--src/glx/dri2.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/glx/dri2.c b/src/glx/dri2.c
index 0c49b83..c77ef7b 100644
--- a/src/glx/dri2.c
+++ b/src/glx/dri2.c
@@ -585,23 +585,4 @@ void DRI2SwapBuffers(Display *dpy, XID drawable, CARD64 target_msc,
}
#endif
-#ifdef X_DRI2SwapInterval
-void DRI2SwapInterval(Display *dpy, XID drawable, int interval)
-{
- XExtDisplayInfo *info = DRI2FindDisplay(dpy);
- xDRI2SwapIntervalReq *req;
-
- XextSimpleCheckExtension (dpy, info, dri2ExtensionName);
-
- LockDisplay(dpy);
- GetReq(DRI2SwapInterval, req);
- req->reqType = info->codes->major_opcode;
- req->dri2ReqType = X_DRI2SwapInterval;
- req->drawable = drawable;
- req->interval = interval;
- UnlockDisplay(dpy);
- SyncHandle();
-}
-#endif
-
#endif /* GLX_DIRECT_RENDERING */