---
name: "waffle_gbm"
section: "3"
platform: "linux"
package: "libwaffle-doc"
version: "1.8.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/waffle_gbm"
---

# waffle\_gbm(3)

Containers for underlying native GBM objects

## NAME

waffle\_gbm, waffle\_gbm\_display, waffle\_gbm\_config, waffle\_gbm\_context, waffle\_gbm\_window - Containers for underlying native GBM objects

## SYNOPSIS

```
#include <waffle_gbm.h>
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;
};
```

## ISSUES

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

## SEE ALSO

[**waffle**(7)](/waffle/7.md), [**waffle\_native**(3)](/waffle_native/3.md)

## 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). To view a copy of this license, visit **http://creativecommons.org.license/by-sa/3.0/us**.
