summaryrefslogtreecommitdiff
path: root/hw/xfree86/glamor/glamor_ddx.h
diff options
context:
space:
mode:
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