logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

waffle_wayland, waffle_wayland_display, waffle_wayland_config, waffle_wayland_context,

Author

ChadVersace <chad.versace@linux.intel.com>
           Former maintainer

Issues

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

Name

       waffle_wayland, waffle_wayland_display, waffle_wayland_config, waffle_wayland_context,
       waffle_wayland_window - Containers for underlying native Wayland objects

See Also

waffle(7), waffle_native(3)

Synopsis

       #include <waffle_wayland.h>

       struct waffle_wayland_display {
           struct wl_display *wl_display;
           struct wl_compositor *wl_compositor;
           // DEPRECATED: wl_shell will be NULL when compositor does not support the
           // old wl_shell protocol
           struct wl_shell *wl_shell;
           EGLDisplay egl_display;
           // xdg_shell introduced with 1.7. Will be NULL when compositor does not
           // support the new xdg-shell protocol
           struct xdg_wm_base *xdg_shell;
       };

       struct waffle_wayland_config {
           struct waffle_wayland_display display;
           EGLConfig egl_config;
       };

       struct waffle_wayland_context {
           struct waffle_wayland_display display;
           EGLContext egl_context;
       };

       struct waffle_wayland_window {
           struct waffle_wayland_display display;
           struct wl_surface *wl_surface;
           // DEPRECATED: wl_shell_surface will be NULL when compositor does not
           // support the old wl_shell protocol
           struct wl_shell_surface *wl_shell_surface;
           struct wl_egl_window *wl_window;
           EGLSurface egl_surface;
           // xdg_surface and xdg_toplevel introduced with 1.7. Will be NULL when
           // compositor does not support the new xdg-shell protocol
           struct xdg_surface *xdg_surface;
           struct xdg_toplevel *xdg_toplevel;
       };

See Also