From: SooChan Lim Date: Wed, 7 Jul 2021 02:22:23 +0000 (+0900) Subject: tbm_bufmgr: add TBM_BUFMGR_CAPABILITY_SHARE_SURFACE X-Git-Tag: accepted/tizen/unified/20210813.025732~7 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Flibtbm.git;a=commitdiff_plain;h=refs%2Fchanges%2F94%2F260994%2F1 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 --- 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 */ }; /**