hal-tbm-types: add HAL_TBM_BUFMGR_CAPABILITY_SHARE_SURFACE 91/260991/1
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 7 Jul 2021 02:10:54 +0000 (11:10 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 7 Jul 2021 02:10:54 +0000 (11:10 +0900)
This capability stands for the backend module which has
bufmgr_alloc_surface and bufmgr_import_surface functions.

Change-Id: I7aba42d26022d23ba488c2ea062d9004a23b4238

include/hal-tbm-types.h

index 89f2550..7e908b7 100644 (file)
@@ -85,6 +85,7 @@ typedef enum {
        HAL_TBM_BUFMGR_CAPABILITY_SHARE_FD = (1 << 1),       /**< Support sharing buffer by tbm fd */
        HAL_TBM_BUFMGR_CAPABILITY_TBM_SYNC = (1 << 2),       /**< Support timeline sync */
        HAL_TBM_BUFMGR_CAPABILITY_TILED_MEMORY = (1 << 3),   /**< Support tiled memory */
+       HAL_TBM_BUFMGR_CAPABILITY_SHARE_SURFACE = (1 << 4),  /**< Support sharing surface by buffer data */
 } hal_tbm_bufmgr_capability;
 
 /**