The Generic Buffer Manager
This module provides an abstraction that the caller can use to request a buffer from the underlying memory management system for the platform.
This allows the creation of portable code whilst still allowing access to the underlying memory manager.
A gbm buffer object
An open DRM device
A read-only mapped buffer object
A read-write mapped buffer object
A gbm rendering surface
Handle to a front buffer of a surface
Flags to indicate the intended use for the buffer - these are passed into
Flags to indicate the type of mapping for the buffer - these are
Possible pixel formats used
Errors that may happen when locking the front buffer
Trait for types that allow to optain the underlying raw libinput pointer.
Trait for types that allow to be initialized from a raw pointer
Common functionality for all mapped buffer objects
Common functionality for all writable mapped buffer objects
Abstraction representing the handle to a buffer allocated by the manager