From 6a6bb703bce2d844175950ede4bda5d06dc5a8ae Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 17 Oct 2022 02:55:59 +0200 Subject: wip intel --- include/capture/xcomposite_drm.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/capture/xcomposite_drm.h (limited to 'include/capture/xcomposite_drm.h') 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 + +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 */ -- cgit v1.2.3