diff options
author | Roman Marchenko <r.marchenko@samsung.com> | 2016-02-05 11:36:28 +0200 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2016-03-07 19:47:55 +0900 |
commit | 0ef32010e2cf82cfbba371f79c219c5c8ede9620 (patch) | |
tree | bab4d4ce92dfd7496e598a511919385e28e06306 | |
parent | 8c385fb9d3392440cdcfa3793143627d10612678 (diff) | |
download | libtbm-shm-0ef32010e2cf82cfbba371f79c219c5c8ede9620.tar.gz libtbm-shm-0ef32010e2cf82cfbba371f79c219c5c8ede9620.tar.bz2 libtbm-shm-0ef32010e2cf82cfbba371f79c219c5c8ede9620.zip |
shm: add TBM_CACHE_CTRL_BACKEND to avoid controlling of caching in libtbmsubmit/tizen/20160307.110816accepted/tizen/wearable/20160308.021844accepted/tizen/tv/20160308.021759accepted/tizen/mobile/20160308.021714accepted/tizen/ivi/20160308.021932accepted/tizen/common/20160307.154853
Change-Id: I3c72546213c9f9edf1162180a238f6ed8f5810ff
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
-rw-r--r-- | src/tbm_bufmgr_shm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tbm_bufmgr_shm.c b/src/tbm_bufmgr_shm.c index 17e86b6..4aeae70 100644 --- a/src/tbm_bufmgr_shm.c +++ b/src/tbm_bufmgr_shm.c @@ -301,7 +301,7 @@ tbm_shm_bo_free(tbm_bo bo) bo_shm = (tbm_bo_shm)tbm_backend_get_bo_priv(bo); SHM_RETURN_IF_FAIL (bo_shm!=NULL); - DBG (" [%s] bo:%p, gem:%d(%d), size:%d\n",target_name(), + DBG (" [%s] bo:%p, shm:%d(%d), size:%d\n",target_name(), bo, bo_shm->shmid, bo_shm->key, bo_shm->size); @@ -1108,7 +1108,7 @@ init_tbm_bufmgr_priv (tbm_bufmgr bufmgr, int fd) bufmgr_backend->fd_to_handle = NULL; bufmgr_backend->surface_get_num_bos = tbm_shm_surface_get_num_bos; - bufmgr_backend->flags = 0; + bufmgr_backend->flags = TBM_CACHE_CTRL_BACKEND; bufmgr_backend->bo_lock = NULL; bufmgr_backend->bo_unlock = NULL; |