aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/capture/kms_vaapi.h1
-rw-r--r--include/capture/xcomposite_cuda.h1
-rw-r--r--include/capture/xcomposite_vaapi.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/include/capture/kms_vaapi.h b/include/capture/kms_vaapi.h
index 77b292a..8e11682 100644
--- a/include/capture/kms_vaapi.h
+++ b/include/capture/kms_vaapi.h
@@ -9,6 +9,7 @@ typedef struct _XDisplay Display;
typedef struct {
gsr_egl *egl;
+ Display *dpy;
const char *display_to_capture; /* if this is "screen", then the entire x11 screen is captured (all displays). A copy is made of this */
gsr_gpu_info gpu_inf;
const char *card_path; /* reference */
diff --git a/include/capture/xcomposite_cuda.h b/include/capture/xcomposite_cuda.h
index 547a6f3..2106714 100644
--- a/include/capture/xcomposite_cuda.h
+++ b/include/capture/xcomposite_cuda.h
@@ -10,6 +10,7 @@ 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| */
diff --git a/include/capture/xcomposite_vaapi.h b/include/capture/xcomposite_vaapi.h
index bba485b..e80c60a 100644
--- a/include/capture/xcomposite_vaapi.h
+++ b/include/capture/xcomposite_vaapi.h
@@ -10,6 +10,7 @@ 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| */