wlmaker
Loading...
Searching...
No Matches
buffer.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __WLMTK_BUFFER_H__
21#define __WLMTK_BUFFER_H__
22
23#include <libbase/libbase.h>
24#include <stdbool.h>
25#include <wayland-server-core.h>
26
27#include "element.h"
28#include "input.h"
29
32
33#ifdef __cplusplus
34extern "C" {
35#endif // __cplusplus
36
56
64bool wlmtk_buffer_init(wlmtk_buffer_t *buffer_ptr);
65
71void wlmtk_buffer_fini(wlmtk_buffer_t *buffer_ptr);
72
82 wlmtk_buffer_t *buffer_ptr,
83 struct wlr_buffer *wlr_buffer_ptr);
84
87
89extern const bs_test_case_t wlmtk_buffer_test_cases[];
90
91#ifdef __cplusplus
92} // extern "C"
93#endif // __cplusplus
94
95#endif /* __WLMTK_BUFFER_H__ */
96/* == End of buffer.h ====================================================== */
bool wlmtk_buffer_init(wlmtk_buffer_t *buffer_ptr)
Definition buffer.c:68
wlmtk_element_t * wlmtk_buffer_element(wlmtk_buffer_t *buffer_ptr)
Definition buffer.c:128
const bs_test_case_t wlmtk_buffer_test_cases[]
Definition buffer.c:257
void wlmtk_buffer_set(wlmtk_buffer_t *buffer_ptr, struct wlr_buffer *wlr_buffer_ptr)
Definition buffer.c:104
void wlmtk_buffer_fini(wlmtk_buffer_t *buffer_ptr)
Definition buffer.c:86
wlmtk_pointer_cursor_t
Definition input.h:47
Definition buffer.h:38
struct wl_listener element_pointer_enter_listener
Definition buffer.h:54
struct wl_listener wlr_scene_buffer_node_destroy_listener
Definition buffer.h:52
struct wlr_scene_buffer * wlr_scene_buffer_ptr
Definition buffer.h:49
wlmtk_element_vmt_t orig_super_element_vmt
Definition buffer.h:42
wlmtk_element_t super_element
Definition buffer.h:40
wlmtk_pointer_cursor_t pointer_cursor
Definition buffer.h:44
struct wlr_buffer * wlr_buffer_ptr
Definition buffer.h:47
Definition element.h:181
Definition element.h:67