wlmaker
Loading...
Searching...
No Matches
output.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __WLMAKER_OUTPUT_H__
21#define __WLMAKER_OUTPUT_H__
22
23#include <libbase/libbase.h>
24
25#define WLR_USE_UNSTABLE
26#include <wlr/render/allocator.h>
27#include <wlr/render/wlr_renderer.h>
28#include <wlr/types/wlr_output.h>
29#undef WLR_USE_UNSTABLE
30
33
34#include "server.h"
35
36#ifdef __cplusplus
37extern "C" {
38#endif // __cplusplus
39
43 bs_dllist_node_t node;
46
48 struct wlr_output *wlr_output_ptr;
50 struct wlr_allocator *wlr_allocator_ptr;
52 struct wlr_renderer *wlr_renderer_ptr;
54 struct wlr_scene *wlr_scene_ptr;
55
57 struct wl_listener output_destroy_listener;
59 struct wl_listener output_frame_listener;
62};
63
76 struct wlr_output *wlr_output_ptr,
77 struct wlr_allocator *wlr_allocator_ptr,
78 struct wlr_renderer *wlr_renderer_ptr,
79 struct wlr_scene *wlr_scene_ptr,
80 wlmaker_server_t *server_ptr);
81
88
89#ifdef __cplusplus
90} // extern "C"
91#endif // __cplusplus
92
93#endif /* __WLMAKER_OUTPUT_H__ */
94/* == End of output.h ====================================================== */
void wlmaker_output_destroy(wlmaker_output_t *output_ptr)
Definition output.c:100
wlmaker_output_t * wlmaker_output_create(struct wlr_output *wlr_output_ptr, struct wlr_allocator *wlr_allocator_ptr, struct wlr_renderer *wlr_renderer_ptr, struct wlr_scene *wlr_scene_ptr, wlmaker_server_t *server_ptr)
Definition output.c:42
Definition output.h:41
struct wl_listener output_frame_listener
Definition output.h:59
struct wlr_scene * wlr_scene_ptr
Definition output.h:54
struct wlr_allocator * wlr_allocator_ptr
Definition output.h:50
struct wl_listener output_request_state_listener
Definition output.h:61
struct wl_listener output_destroy_listener
Definition output.h:57
wlmaker_server_t * server_ptr
Definition output.h:45
struct wlr_output * wlr_output_ptr
Definition output.h:48
bs_dllist_node_t node
Definition output.h:43
struct wlr_renderer * wlr_renderer_ptr
Definition output.h:52
Definition server.h:60