Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::render::GpuSurface::X11NativeHandle Struct Reference

Typed X11 surface handle. More...

#include <gpu_surface.hpp>

Public Attributes

void * display = nullptr
unsigned long window = 0

Detailed Description

Typed X11 surface handle.

Pass a pointer to one of these as Config::native_surface_handle on Linux so Dawn can build an SurfaceSourceXlibWindow. display is an Display* and window is an X11 Window (an unsigned long); both are kept opaque here so this header stays Xlib-include-free for non-Linux and no-X11 consumers. The pointed-to struct only needs to outlive the initialize() call.

Member Data Documentation

◆ display

void* pulp::render::GpuSurface::X11NativeHandle::display = nullptr

◆ window

unsigned long pulp::render::GpuSurface::X11NativeHandle::window = 0

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/render/include/pulp/render/gpu_surface.hpp