aboutsummaryrefslogtreecommitdiff
path: root/include/capture/xcomposite_vaapi.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-02-09 00:23:52 +0100
committerdec05eba <dec05eba@protonmail.com>2024-02-09 00:23:52 +0100
commit3eb7bae12c9fe50913a57656d2b324d4da18c30a (patch)
treee979679a7d9103a7e67648f70c54da79e71a62c0 /include/capture/xcomposite_vaapi.h
parent463393a0c0615ca500645a856f348684546bc1f6 (diff)
Move card path to egl struct, use egl struct for monitor enumeration
Diffstat (limited to 'include/capture/xcomposite_vaapi.h')
-rw-r--r--include/capture/xcomposite_vaapi.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/capture/xcomposite_vaapi.h b/include/capture/xcomposite_vaapi.h
index ba234ec..c6237e3 100644
--- a/include/capture/xcomposite_vaapi.h
+++ b/include/capture/xcomposite_vaapi.h
@@ -5,17 +5,12 @@
#include "../egl.h"
#include "../vec2.h"
#include "../color_conversion.h"
-#include <X11/X.h>
-
-typedef struct _XDisplay Display;
typedef struct {
gsr_egl *egl;
- Display *dpy;
Window window;
bool follow_focused; /* If this is set then |window| is ignored */
vec2i region_size; /* This is currently only used with |follow_focused| */
- const char *card_path; /* reference */
gsr_color_range color_range;
} gsr_capture_xcomposite_vaapi_params;