Mir
|
#include <wayland_shm.h>
Public Member Functions | |
WaylandShm (wl_shm *shm) | |
Does not take ownership of the wl_shm. More... | |
auto | get_buffer (mir::geometry::Size size, mir::geometry::Stride stride) -> WaylandShmBuffer * |
The returned buffer is automatically released as long as it is sent to the compositor. More... | |
WaylandShm::WaylandShm | ( | wl_shm * | shm | ) |
Does not take ownership of the wl_shm.
auto WaylandShm::get_buffer | ( | mir::geometry::Size | size, |
mir::geometry::Stride | stride | ||
) | -> WaylandShmBuffer* |
The returned buffer is automatically released as long as it is sent to the compositor.
Copyright © 2012-2021
Canonical Ltd.
Generated on Wed Mar 31 15:54:02 UTC 2021
This documentation is licensed under the GPL version 2 or 3.