summaryrefslogtreecommitdiff
path: root/src/glx/x11/dri2.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-10-14 23:07:42 -0400
committerKristian Høgsberg <krh@redhat.com>2008-10-14 23:07:42 -0400
commit77c7f90ed44748f0e54e894deff1cac63da54cd6 (patch)
treea850a2042297593002ae8900160fcb4be2f7b559 /src/glx/x11/dri2.h
parent351de8aecc5d15bc0319e10043b136f887cbaeb2 (diff)
Revert pointless reindents to avoid merge conflicts.
Why are we reindenting code that's work in progress...
Diffstat (limited to 'src/glx/x11/dri2.h')
-rw-r--r--src/glx/x11/dri2.h43
1 files changed, 23 insertions, 20 deletions
diff --git a/src/glx/x11/dri2.h b/src/glx/x11/dri2.h
index 620ad7a30b..25212f99e5 100644
--- a/src/glx/x11/dri2.h
+++ b/src/glx/x11/dri2.h
@@ -34,31 +34,34 @@
#ifndef _DRI2_H_
#define _DRI2_H_
-typedef struct
-{
- unsigned int attachment;
- unsigned int name;
- unsigned int pitch;
- unsigned int cpp;
- unsigned int flags;
+typedef struct {
+ unsigned int attachment;
+ unsigned int name;
+ unsigned int pitch;
+ unsigned int cpp;
+ unsigned int flags;
} DRI2Buffer;
extern Bool
-DRI2QueryExtension(Display * display, int *eventBase, int *errorBase);
-extern Bool DRI2QueryVersion(Display * display, int *major, int *minor);
+DRI2QueryExtension(Display *display, int *eventBase, int *errorBase);
extern Bool
-DRI2Connect(Display * display, int screen,
- char **driverName, char **busId, unsigned int *sareaHandle);
+DRI2QueryVersion(Display *display, int *major, int *minor);
extern Bool
-DRI2AuthConnection(Display * display, int screen, drm_magic_t magic);
-extern void DRI2CreateDrawable(Display * display, XID drawable);
-extern void DRI2DestroyDrawable(Display * display, XID handle);
-extern DRI2Buffer *DRI2GetBuffers(Display * dpy, XID drawable,
- int *width, int *height,
- unsigned int *attachments, int count,
- int *outCount);
+DRI2Connect(Display *display, int screen,
+ char **driverName, char **busId, unsigned int *sareaHandle);
+extern Bool
+DRI2AuthConnection(Display *display, int screen, drm_magic_t magic);
+extern void
+DRI2CreateDrawable(Display *display, XID drawable);
+extern void
+DRI2DestroyDrawable(Display *display, XID handle);
+extern DRI2Buffer *
+DRI2GetBuffers(Display *dpy, XID drawable,
+ int *width, int *height,
+ unsigned int *attachments, int count,
+ int *outCount);
extern void
-DRI2SwapBuffers(Display * dpy, XID drawable,
- int x, int y, int width, int height);
+DRI2SwapBuffers(Display *dpy, XID drawable,
+ int x, int y, int width, int height);
#endif