Expand description
An interface to libgbm, a generic buffer manager for Linux which is provided by Mesa.
Libgbm can be used to retrieve framebuffers from GPUs in a driver-independant manner.
Modules§
- format
- Formats
Structs§
- Buffer
Object - Analogous to gbm_bo
- Device
- Analogous to gbm_device.
- Surface
- Analogous to gbm_surface
Enums§
- gbm_bo
- Representation of C opaque structure to use in foreign C functions
- gbm_
device - Representation of C opaque structure to use in foreign C functions
- gbm_
surface - Representation of C opaque structure to use in foreign C functions
Constants§
- USE_
CURSOR - Buffer is going to be used as cursor
- USE_
RENDERING - Buffer is to be used for rendering - for example it is going to be used as the storage for a color buffer
- USE_
SCANOUT - Buffer is going to be presented to the screen using an API such as KMS
- USE_
WRITE - Buffer can be used for BufferObject::write. This is guaranteed to work with USE_CURSOR, but may not work for other combinations