aboutsummaryrefslogtreecommitdiff
path: root/include/capture/xcomposite_drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/capture/xcomposite_drm.h')
-rw-r--r--include/capture/xcomposite_drm.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/capture/xcomposite_drm.h b/include/capture/xcomposite_drm.h
new file mode 100644
index 0000000..f814f7a
--- /dev/null
+++ b/include/capture/xcomposite_drm.h
@@ -0,0 +1,16 @@
+#ifndef GSR_CAPTURE_XCOMPOSITE_DRM_H
+#define GSR_CAPTURE_XCOMPOSITE_DRM_H
+
+#include "capture.h"
+#include "../vec2.h"
+#include <X11/X.h>
+
+typedef struct _XDisplay Display;
+
+typedef struct {
+ Window window;
+} gsr_capture_xcomposite_drm_params;
+
+gsr_capture* gsr_capture_xcomposite_drm_create(const gsr_capture_xcomposite_drm_params *params);
+
+#endif /* GSR_CAPTURE_XCOMPOSITE_DRM_H */