From 918c7df55e19c523631c461c3890552bd62bcb8d Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Wed, 7 Jul 2021 11:22:23 +0900 Subject: [PATCH] tbm_bufmgr: add TBM_BUFMGR_CAPABILITY_SHARE_SURFACE 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/include/tbm_type_common.h b/include/tbm_type_common.h index 8571c0d..9831e88 100644 --- a/include/tbm_type_common.h +++ b/include/tbm_type_common.h @@ -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 */ }; /** -- 2.34.1