Typed X11 surface handle. More...
#include <gpu_surface.hpp>
Public Attributes | |
| void * | display = nullptr |
| unsigned long | window = 0 |
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.
| void* pulp::render::GpuSurface::X11NativeHandle::display = nullptr |
| unsigned long pulp::render::GpuSurface::X11NativeHandle::window = 0 |