|
|
@ -13,12 +13,15 @@
|
|
|
|
#include <wlr/types/wlr_ext_image_capture_source_v1.h>
|
|
|
|
#include <wlr/types/wlr_ext_image_capture_source_v1.h>
|
|
|
|
|
|
|
|
|
|
|
|
struct wlr_ext_image_copy_capture_frame_v1;
|
|
|
|
struct wlr_ext_image_copy_capture_frame_v1;
|
|
|
|
|
|
|
|
struct wlr_seat;
|
|
|
|
|
|
|
|
|
|
|
|
struct wlr_ext_image_capture_source_v1_interface {
|
|
|
|
struct wlr_ext_image_capture_source_v1_interface {
|
|
|
|
void (*schedule_frame)(struct wlr_ext_image_capture_source_v1 *source);
|
|
|
|
void (*schedule_frame)(struct wlr_ext_image_capture_source_v1 *source);
|
|
|
|
void (*copy_frame)(struct wlr_ext_image_capture_source_v1 *source,
|
|
|
|
void (*copy_frame)(struct wlr_ext_image_capture_source_v1 *source,
|
|
|
|
struct wlr_ext_image_copy_capture_frame_v1 *dst_frame,
|
|
|
|
struct wlr_ext_image_copy_capture_frame_v1 *dst_frame,
|
|
|
|
struct wlr_ext_image_capture_source_v1_frame_event *frame_event);
|
|
|
|
struct wlr_ext_image_capture_source_v1_frame_event *frame_event);
|
|
|
|
|
|
|
|
struct wlr_ext_image_capture_source_v1_cursor *(*get_pointer_cursor)(
|
|
|
|
|
|
|
|
struct wlr_ext_image_capture_source_v1 *source, struct wlr_seat *seat);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
void wlr_ext_image_capture_source_v1_init(struct wlr_ext_image_capture_source_v1 *source,
|
|
|
|
void wlr_ext_image_capture_source_v1_init(struct wlr_ext_image_capture_source_v1 *source,
|
|
|
@ -27,4 +30,8 @@ void wlr_ext_image_capture_source_v1_finish(struct wlr_ext_image_capture_source_
|
|
|
|
bool wlr_ext_image_capture_source_v1_create_resource(struct wlr_ext_image_capture_source_v1 *source,
|
|
|
|
bool wlr_ext_image_capture_source_v1_create_resource(struct wlr_ext_image_capture_source_v1 *source,
|
|
|
|
struct wl_client *client, uint32_t new_id);
|
|
|
|
struct wl_client *client, uint32_t new_id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void wlr_ext_image_capture_source_v1_cursor_init(struct wlr_ext_image_capture_source_v1_cursor *source_cursor,
|
|
|
|
|
|
|
|
const struct wlr_ext_image_capture_source_v1_interface *impl);
|
|
|
|
|
|
|
|
void wlr_ext_image_capture_source_v1_cursor_finish(struct wlr_ext_image_capture_source_v1_cursor *source_cursor);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|