summaryrefslogtreecommitdiff
path: root/src/glamo-dri2.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-07-23 00:04:49 +0100
committerThomas White <taw@bitwiz.org.uk>2009-07-23 00:04:49 +0100
commitfa0b953a1a137a9706b9bea15aa7e30a67d0a086 (patch)
tree971e7238b58e97532ae68542501f10c345295284 /src/glamo-dri2.h
parentb0150bab10528c49384b5e3fd29f3ec9e9115e05 (diff)
Make glamo-kms-driver.c compile
Diffstat (limited to 'src/glamo-dri2.h')
-rw-r--r--src/glamo-dri2.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/glamo-dri2.h b/src/glamo-dri2.h
new file mode 100644
index 0000000..8ec99b9
--- /dev/null
+++ b/src/glamo-dri2.h
@@ -0,0 +1,28 @@
+/*
+ * DRI for the SMedia Glamo3362 X.org Driver
+ *
+ * Copyright 2009 Thomas White <taw@bitwiz.org.uk>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ */
+
+#include "xf86.h"
+
+extern void driScreenInit(ScreenPtr pScreen);
+extern void driCloseScreen(ScreenPtr pScreen);
+extern void driLock(ScreenPtr pScreen);
+extern void driUnlock(ScreenPtr pScreen);