X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglx%2Fdri2.h;h=4be5bf8eb8e1000703272d33aca83908f35676ff;hb=efd439e0d648c90ae5854a0e83cd864836864e91;hp=179e8f91cc6c7deb18dfc40a2df4bf9ce4118f8e;hpb=811602885bb5fa56f04927c29b882675e7ff311c;p=mesa.git diff --git a/src/glx/dri2.h b/src/glx/dri2.h index 179e8f91cc6..4be5bf8eb8e 100644 --- a/src/glx/dri2.h +++ b/src/glx/dri2.h @@ -33,6 +33,7 @@ #ifndef _DRI2_H_ #define _DRI2_H_ +#include #include #include @@ -45,6 +46,8 @@ typedef struct unsigned int flags; } DRI2Buffer; +struct glx_screen; + extern Bool DRI2QueryExtension(Display * display, int *eventBase, int *errorBase); @@ -85,8 +88,4 @@ DRI2CopyRegion(Display * dpy, XID drawable, XserverRegion region, CARD32 dest, CARD32 src); -extern void -DRI2SwapBuffers(Display *dpy, XID drawable, CARD64 target_msc, CARD64 divisor, - CARD64 remainder, CARD64 *count); - #endif