WAFFLE_GBM(3)
π NAME π
Bestie, say hi to the whole squad π β <purple>waffle_gbm</purple>, <purple>waffle_gbm_display</purple>, <purple>waffle_gbm_config</purple>, <purple>waffle_gbm_context</purple>, and <purple>waffle_gbm_window</purple>, all documented right here in waffle_gbm(3).
And what are they, you ask? They are literally containers for underlying native GBM objects β¨. That's the whole job description. They hold the native stuff, they look cute doing it, periodt π .
π SYNOPSIS π
First things first, you gotta bring in the header:
#include <waffle_gbm.h>
Then boom, four structs, waiting for you like π¦:
struct waffle_gbm_display {
struct gbm_device *gbm_device;
EGLDisplay egl_display;
};
struct waffle_gbm_config {
struct waffle_gbm_display display;
EGLConfig egl_config;
};
struct waffle_gbm_context {
struct waffle_gbm_display display;
EGLContext egl_context;
};
struct waffle_gbm_window {
struct waffle_gbm_display display;
struct gbm_surface *gbm_surface;
EGLSurface egl_surface;
};
Vibe check on each one, no cap:
waffle_gbm_displayβ carries its very own<cyan>struct gbm_device *gbm_device</cyan>plus an `EGLDisplay egl_display. πwaffle_gbm_configβ nests a wholewaffle_gbm_displayin there (asdisplay, obvs) and adds an `EGLConfig egl_config. It's giving β¨collectorβ¨.waffle_gbm_contextβ same deal, it's got awaffle_gbm_display displayand an `EGLContext egl_context. πwaffle_gbm_windowβ the main character fr: it holds awaffle_gbm_display display, a<cyan>struct gbm_surface *gbm_surface</cyan>, AND an `EGLSurface egl_surface. Ate and left no crumbs π π
Like, the way every single one of the last three is built on top of waffle_gbm_display? That's iconic inheritance-by-nesting energy. π«Ά
π ISSUES π
Found a bug? Got a feature request bubbling in your brain? Please report bugs or feature requests to https://gitlab.freedesktop.org/mesa/waffle/issues. That's the spot, bestie β not my DMs π₯².
πΈ SEE ALSO πΈ
Go read these next, they're the besties of this page:
π AUTHOR π
Chad Versace <chad.versace@linux.intel.com> Former maintainer π
π COPYRIGHT π
Copyright Β© 2013 Intel
This manual page is licensed under the Creative Commons Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0). Wanna see a copy of this license? Visit http://creativecommons.org.license/by-sa/3.0/us. π
okay that's the whole thing fr fr. no skips, no missing bits, every struct field intact π€
And that's a wrap on waffle_gbm(3) from the waffle manual, dated 07/06/2026 π¦β¨ thanks for reading, mwah πCtrl+D your way out whenever, love u, bye ππ
π¦ where this page comes from
- ubuntu stonking: libwaffle-doc 1.8.3-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms