/* TBM_DEVICE_TYPE */
#define TBM_DEVICE_DEFAULT 0 /**< device type to get the default handle */
-#define TBM_DEVICE_CPU 1 /**< device type to get the virtual pointer */
+#define TBM_DEVICE_CPU 1 /**< device type to get the virtual memory */
#define TBM_DEVICE_2D 2 /**< device type to get the 2D memory handle */
#define TBM_DEVICE_3D 3 /**< device type to get the 3D memory handle */
#define TBM_DEVICE_MM 4 /**< device type to get the multimedia handle */
/* TBM_OPTION */
#define TBM_OPTION_READ (1 << 0) /**< access option to read */
#define TBM_OPTION_WRITE (1 << 1) /**< access option to write */
+#define TBM_OPTION_VENDOR (0xffff00000) /**< vendor specific option: it depends on the backend */
/**
* @brief tbm_bo_handle
*/
enum TBM_BO_FLAGS
{
- TBM_BO_DEFAULT = 0, /**< physically non-contiguous memory */
- TBM_BO_SCANOUT = (1<<0), /**< physically contiguous memory */
- TBM_BO_NONCACHABLE = (1<<1), /**< non-cachable memory */
- TBM_BO_WC = (1<<2), /**< write-combine memory */
+ TBM_BO_DEFAULT = 0, /**< default memory: it depends on the backend */
+ TBM_BO_SCANOUT = (1<<0), /**< scanout memory */
+ TBM_BO_NONCACHABLE = (1<<1), /**< non-cachable memory */
+ TBM_BO_WC = (1<<2), /**< write-combine memory */
+ TBM_BO_VENDOR = (0xffff00000), /**< vendor specific memory: it depends on the backend */
};
/* Functions for buffer manager */