Documentation for <wlr/types/wlr_export_dmabuf_v1.h>

Back to index

Table of contents

struct wlr_export_dmabuf_frame_v1

struct wlr_export_dmabuf_frame_v1 {
	struct wl_resource *resource;
	struct wlr_export_dmabuf_manager_v1 *manager;
	struct wl_list link; // wlr_export_dmabuf_manager_v1.frames
	
	struct wlr_output *output;
	
	bool cursor_locked;
	
	struct wl_listener output_commit;
	struct wl_listener output_destroy;
};

struct wlr_export_dmabuf_manager_v1

struct wlr_export_dmabuf_manager_v1 {
	struct wl_global *global;
	struct wl_list frames; // wlr_export_dmabuf_frame_v1.link
	
	struct wl_listener display_destroy;
	
	struct {
		struct wl_signal destroy;
	} events;
};

wlr_export_dmabuf_manager_v1_create()

struct wlr_export_dmabuf_manager_v1 *wlr_export_dmabuf_manager_v1_create(​struct wl_display *display);