Module gbm_sys::gbm_bo_flags[][src]

Constants

GBM_BO_USE_CURSOR

Buffer is going to be used as cursor

GBM_BO_USE_CURSOR_64X64

Deprecated

GBM_BO_USE_LINEAR

Buffer is linear, i.e. not tiled.

GBM_BO_USE_PROTECTED

Buffer is protected, i.e. encrypted and not readable by CPU or any other non-secure / non-trusted components nor by non-trusted OpenGL, OpenCL, and Vulkan applications.

GBM_BO_USE_RENDERING

Buffer is to be used for rendering - for example it is going to be used as the storage for a color buffer

GBM_BO_USE_SCANOUT

Buffer is going to be presented to the screen using an API such as KMS

GBM_BO_USE_WRITE

Buffer can be used for gbm_bo_write. This is guaranteed to work with GBM_BO_USE_CURSOR, but may not work for other combinations.

Type Definitions

Type

Flags to indicate the intended use for the buffer - these are passed into gbm_bo_create(). The caller must set the union of all the flags that are appropriate