aboutsummaryrefslogtreecommitdiff
path: root/include/egl.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-02-09 00:38:23 +0100
committerdec05eba <dec05eba@protonmail.com>2024-02-09 00:38:23 +0100
commitac73d9cb13ea7e4694b6b013de426cefddae4ca7 (patch)
tree28ea2dcea83e1d5717110b00b4349f09c8af0f3b /include/egl.h
parent3eb7bae12c9fe50913a57656d2b324d4da18c30a (diff)
Remove wayland capture (wlroots)
Diffstat (limited to 'include/egl.h')
-rw-r--r--include/egl.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/egl.h b/include/egl.h
index a747bdb..b8513fd 100644
--- a/include/egl.h
+++ b/include/egl.h
@@ -128,12 +128,8 @@ typedef struct {
void *registry;
void *surface;
void *compositor;
- void *export_manager;
- void *current_frame;
- void *frame_callback;
gsr_wayland_output outputs[GSR_MAX_OUTPUTS];
int num_outputs;
- gsr_wayland_output *output_to_capture;
} gsr_wayland;
typedef struct {
@@ -148,16 +144,6 @@ typedef struct {
gsr_wayland wayland;
char card_path[128];
- int fd;
- uint32_t x;
- uint32_t y;
- uint32_t width;
- uint32_t height;
- uint32_t pitch;
- uint32_t offset;
- uint32_t pixel_format;
- uint64_t modifier;
-
int32_t (*eglGetError)(void);
EGLDisplay (*eglGetDisplay)(EGLNativeDisplayType display_id);
unsigned int (*eglInitialize)(EGLDisplay dpy, int32_t *major, int32_t *minor);
@@ -234,10 +220,6 @@ typedef struct {
bool gsr_egl_load(gsr_egl *self, Display *dpy, bool wayland);
void gsr_egl_unload(gsr_egl *self);
-/* wayland protocol capture, does not include kms capture */
-bool gsr_egl_supports_wayland_capture(const gsr_egl *self);
-bool gsr_egl_start_capture(gsr_egl *self, const char *monitor_to_capture);
void gsr_egl_update(gsr_egl *self);
-void gsr_egl_cleanup_frame(gsr_egl *self);
#endif /* GSR_EGL_H */