summaryrefslogtreecommitdiff
path: root/src/glx/x11
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <tade60@freemail.hu>2008-10-13 13:18:41 +0200
committerBrian Paul <brian.paul@tungstengraphics.com>2008-10-13 16:53:38 -0600
commit2e8d62be613a180dc2d5693ef948e47f7bd85620 (patch)
treea4ae45c82f48ec72c1d83b6181a43dfe564bc721 /src/glx/x11
parentbca6e79a4520beb928c7ea6211aefab07f708a15 (diff)
glx: indent -br -i3 -npcs --no-tabs dri2.h
Diffstat (limited to 'src/glx/x11')
-rw-r--r--src/glx/x11/dri2.h43
1 files changed, 20 insertions, 23 deletions
diff --git a/src/glx/x11/dri2.h b/src/glx/x11/dri2.h
index 25212f99e5..620ad7a30b 100644
--- a/src/glx/x11/dri2.h
+++ b/src/glx/x11/dri2.h
@@ -34,34 +34,31 @@
#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);
+DRI2QueryExtension(Display * display, int *eventBase, int *errorBase);
+extern Bool DRI2QueryVersion(Display * display, int *major, int *minor);
extern Bool
-DRI2QueryVersion(Display *display, int *major, int *minor);
+DRI2Connect(Display * display, int screen,
+ char **driverName, char **busId, unsigned int *sareaHandle);
extern Bool
-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);
+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