Module gbm_sys::gbm_bo_flags

source ·

Constants

  • Buffer is going to be used as cursor
  • Deprecated
  • Buffer is linear, i.e. not tiled.
  • 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.
  • Buffer is to be used for rendering - for example it is going to be used as the storage for a color buffer
  • Buffer is going to be presented to the screen using an API such as KMS
  • 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 Aliases

  • 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