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.h | 16 ---------------- include/capture/xcomposite_cuda.h | 16 ++++++++++++++++ include/capture/xcomposite_drm.h | 16 ++++++++++++++++ 3 files changed, 32 insertions(+), 16 deletions(-) delete mode 100644 include/capture/xcomposite.h create mode 100644 include/capture/xcomposite_cuda.h create mode 100644 include/capture/xcomposite_drm.h (limited to 'include/capture') diff --git a/include/capture/xcomposite.h b/include/capture/xcomposite.h deleted file mode 100644 index edd335c..0000000 --- a/include/capture/xcomposite.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef GSR_CAPTURE_XCOMPOSITE_H -#define GSR_CAPTURE_XCOMPOSITE_H - -#include "capture.h" -#include "../vec2.h" -#include - -typedef struct _XDisplay Display; - -typedef struct { - Window window; -} gsr_capture_xcomposite_params; - -gsr_capture* gsr_capture_xcomposite_create(const gsr_capture_xcomposite_params *params); - -#endif /* GSR_CAPTURE_XCOMPOSITE_H */ diff --git a/include/capture/xcomposite_cuda.h b/include/capture/xcomposite_cuda.h new file mode 100644 index 0000000..36b1780 --- /dev/null +++ b/include/capture/xcomposite_cuda.h @@ -0,0 +1,16 @@ +#ifndef GSR_CAPTURE_XCOMPOSITE_CUDA_H +#define GSR_CAPTURE_XCOMPOSITE_CUDA_H + +#include "capture.h" +#include "../vec2.h" +#include + +typedef struct _XDisplay Display; + +typedef struct { + Window window; +} gsr_capture_xcomposite_cuda_params; + +gsr_capture* gsr_capture_xcomposite_cuda_create(const gsr_capture_xcomposite_cuda_params *params); + +#endif /* GSR_CAPTURE_XCOMPOSITE_CUDA_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