'\" t .\" Title: waffle_wayland .\" Author: Chad Versace .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 03/25/2021 .\" Manual: Waffle Manual .\" Source: waffle .\" Language: English .\" .TH "WAFFLE_WAYLAND" "3" "03/25/2021" "waffle" "Waffle Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" waffle_wayland, waffle_wayland_display, waffle_wayland_config, waffle_wayland_context, waffle_wayland_window \- Containers for underlying native Wayland objects .SH "SYNOPSIS" .sp .nf #include 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; }; .fi .SH "ISSUES" .PP Please report bugs or and feature requests to \m[blue]\fB\%https://gitlab.freedesktop.org/mesa/waffle/issues\fR\m[]\&. .SH "SEE ALSO" .PP \fBwaffle\fR(7), \fBwaffle_native\fR(3) .SH "AUTHOR" .PP \fBChad Versace\fR <\&chad\&.versace@linux\&.intel\&.com\&> .RS 4 Maintainer .RE .SH "COPYRIGHT" .br Copyright \(co 2013 Intel .br .PP This manual page is licensed under the Creative Commons Attribution\-ShareAlike 3\&.0 United States License (CC BY\-SA 3\&.0)\&. To view a copy of this license, visit \m[blue]\fB\%http://creativecommons.org.license/by-sa/3.0/us\fR\m[]\&. .sp