tbm_bufmgr: add TBM_BUFMGR_CAPABILITY_SHARE_SURFACE 94/260994/1
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 7 Jul 2021 02:22:23 +0000 (11:22 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 7 Jul 2021 02:22:23 +0000 (11:22 +0900)
The backend module can support the function of sharing the surface
resource when this capability is set.

Change-Id: Ib80447441011071d5794b370f3ab37fcf7ac86b7

include/tbm_type_common.h

index 8571c0d..9831e88 100644 (file)
@@ -140,6 +140,7 @@ enum TBM_BUFMGR_CAPABILITY {
        TBM_BUFMGR_CAPABILITY_SHARE_FD = (1 << 1),       /**< Support sharing buffer by tbm fd */
        TBM_BUFMGR_CAPABILITY_TBM_SYNC = (1 << 2),       /**< Support timeline sync */
        TBM_BUFMGR_CAPABILITY_TILED_MEMORY = (1 << 3),   /**< Support tiled memory */
+       TBM_BUFMGR_CAPABILITY_SHARE_SURFACE = (1 << 4),   /**< Support sharing surface by buffer data */
 };
 
 /**