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 {
		struct wl_listener output_commit;
		struct wl_listener output_destroy;
	} WLR_PRIVATE;
};

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 {
		struct wl_signal destroy;
	} events;
	
	struct {
		struct wl_listener display_destroy;
	} WLR_PRIVATE;
};

wlr_export_dmabuf_manager_v1_create()

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