wlmaker
Loading...
Searching...
No Matches
dblbuf.h
Go to the documentation of this file.
1/* ========================================================================= */
23#ifndef __WLMAKER_WLCLIENT_DBLBUF_H__
24#define __WLMAKER_WLCLIENT_DBLBUF_H__
25
26#include <libbase/libbase.h>
27#include <stdbool.h>
28
29#ifdef __cplusplus
30extern "C" {
31#endif // __cplusplus
32
33struct wl_shm;
34struct wl_surface;
35
38
41 bs_gfxbuf_t *gfxbuf_ptr,
42 void *ud_ptr);
43
58 const char *app_id_ptr,
59 struct wl_surface *wl_surface_ptr,
60 struct wl_shm *wl_shm_ptr,
61 unsigned width,
62 unsigned height);
63
66
90 void *callback_ud_ptr);
91
92#ifdef __cplusplus
93} // extern "C"
94#endif // __cplusplus
95
96#endif /* __WLMAKER_WLCLIENT_DBLBUF_H__ */
97/* == End of dblbuf.h ====================================================== */
void wlmcl_dblbuf_destroy(wlmcl_dblbuf_t *dblbuf_ptr)
Definition dblbuf.c:178
wlmcl_dblbuf_t * wlmcl_dblbuf_create(const char *app_id_ptr, struct wl_surface *wl_surface_ptr, struct wl_shm *wl_shm_ptr, unsigned width, unsigned height)
Definition dblbuf.c:122
void wlmcl_dblbuf_register_ready_callback(wlmcl_dblbuf_t *dblbuf_ptr, wlmcl_dblbuf_ready_callback_t callback, void *callback_ud_ptr)
Definition dblbuf.c:200
bool(* wlmcl_dblbuf_ready_callback_t)(bs_gfxbuf_t *gfxbuf_ptr, void *ud_ptr)
Definition dblbuf.h:40
Definition dblbuf.c:55
struct wl_surface * wl_surface_ptr
Definition dblbuf.c:82
wlmcl_dblbuf_ready_callback_t callback
Definition dblbuf.c:77
unsigned width
Definition dblbuf.c:57
unsigned height
Definition dblbuf.c:59
void * callback_ud_ptr
Definition dblbuf.c:79
static wlmcl_dblbuf_t * dblbuf_ptr
Definition wlmbattery.c:48