1WAFFLE_WAYLAND(3)                Waffle Manual               WAFFLE_WAYLAND(3)
2
3
4

NAME

6       waffle_wayland, waffle_wayland_display, waffle_wayland_config,
7       waffle_wayland_context, waffle_wayland_window - Containers for
8       underlying native Wayland objects
9

SYNOPSIS

11       #include <waffle_wayland.h>
12
13       struct waffle_wayland_display {
14           struct wl_display *wl_display;
15           struct wl_compositor *wl_compositor;
16           // DEPRECATED: wl_shell will be NULL when compositor does not support the
17           // old wl_shell protocol
18           struct wl_shell *wl_shell;
19           EGLDisplay egl_display;
20           // xdg_shell introduced with 1.7. Will be NULL when compositor does not
21           // support the new xdg-shell protocol
22           struct xdg_wm_base *xdg_shell;
23       };
24
25       struct waffle_wayland_config {
26           struct waffle_wayland_display display;
27           EGLConfig egl_config;
28       };
29
30       struct waffle_wayland_context {
31           struct waffle_wayland_display display;
32           EGLContext egl_context;
33       };
34
35       struct waffle_wayland_window {
36           struct waffle_wayland_display display;
37           struct wl_surface *wl_surface;
38           // DEPRECATED: wl_shell_surface will be NULL when compositor does not
39           // support the old wl_shell protocol
40           struct wl_shell_surface *wl_shell_surface;
41           struct wl_egl_window *wl_window;
42           EGLSurface egl_surface;
43           // xdg_surface and xdg_toplevel introduced with 1.7. Will be NULL when
44           // compositor does not support the new xdg-shell protocol
45           struct xdg_surface *xdg_surface;
46           struct xdg_toplevel *xdg_toplevel;
47       };
48
49

ISSUES

51       Please report bugs or and feature requests to
52       https://gitlab.freedesktop.org/mesa/waffle/issues.
53

SEE ALSO

55       waffle(7), waffle_native(3)
56

AUTHOR

58       Chad Versace <chad.versace@linux.intel.com>
59           Maintainer
60
62       Copyright © 2013 Intel
63
64       This manual page is licensed under the Creative Commons
65       Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0). To
66       view a copy of this license, visit
67       http://creativecommons.org.license/by-sa/3.0/us.
68
69
70
71
72waffle                            07/22/2023                 WAFFLE_WAYLAND(3)
Impressum