summaryrefslogtreecommitdiff
path: root/hw/xfree86/glamor/glamor_ddx.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-03-05 14:53:35 -0500
committerKristian Høgsberg <krh@bitplanet.net>2010-03-05 14:53:35 -0500
commitc6eabffab8f5ba52ea04cd2290ef59e7864c6d95 (patch)
tree89fbbdb16e62b976d8edbcf4928e4f94b4569ffe /hw/xfree86/glamor/glamor_ddx.h
parentd7a41e81eff1020e8f2a96b29d48c1d94d5e39f9 (diff)
glamor ddx driver using EGL on KMSglamor-ddx
Diffstat (limited to 'hw/xfree86/glamor/glamor_ddx.h')
-rw-r--r--hw/xfree86/glamor/glamor_ddx.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/hw/xfree86/glamor/glamor_ddx.h b/hw/xfree86/glamor/glamor_ddx.h
new file mode 100644
index 000000000..0968f013f
--- /dev/null
+++ b/hw/xfree86/glamor/glamor_ddx.h
@@ -0,0 +1,15 @@
+#ifndef GLAMOR_DDX_H
+#define GLAMOR_DDX_H
+
+Bool glamor_resize(ScrnInfoPtr scrn, int width, int height);
+void glamor_frontbuffer_handle(ScrnInfoPtr scrn,
+ uint32_t *handle, uint32_t *pitch);
+Bool glamor_load_cursor(ScrnInfoPtr scrn,
+ CARD32 *image, int width, int height);
+void glamor_cursor_handle(ScrnInfoPtr scrn,
+ uint32_t *handle, uint32_t *pitch);
+
+Bool drmmode_pre_init(ScrnInfoPtr scrn, int fd, int cpp);
+void drmmode_closefb(ScrnInfoPtr scrn);
+
+#endif