add _tbm_bufmgr_get_bufmgr as internal function 69/82969/1
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 8 Aug 2016 10:21:44 +0000 (19:21 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 8 Aug 2016 10:21:44 +0000 (19:21 +0900)
Change-Id: Id9e7f809eb1926f356702022652133353ebd7cec

src/tbm_bufmgr.c
src/tbm_bufmgr_int.h

index fab4c38..bc4bb2a 100644 (file)
@@ -1383,6 +1383,12 @@ tbm_bufmgr_debug_trace(tbm_bufmgr bufmgr, int onoff)
 }
 
 /* internal function */
+tbm_bufmgr
+_tbm_bufmgr_get_bufmgr(void)
+{
+       return gBufMgr;
+}
+
 int
 _tbm_bo_set_surface(tbm_bo bo, tbm_surface_h surface)
 {
index 75e756d..c27630d 100644 (file)
@@ -283,6 +283,7 @@ typedef struct {
        struct list_head item_link;
 } tbm_user_data;
 
+tbm_bufmgr _tbm_bufmgr_get_bufmgr(void);
 int _tbm_bo_set_surface(tbm_bo bo, tbm_surface_h surface);
 int _tbm_surface_is_valid(tbm_surface_h surface);