* @brief tbm_bo : buffer object of Tizen Buffer Manager
*/
struct _tbm_bo {
- tbm_bufmgr bufmgr; /* tbm buffer manager */
-
- int ref_cnt; /* ref count of bo */
-
- int flags; /* TBM_BO_FLAGS :bo memory type */
-
- struct list_head user_data_list; /* list of the user_date in bo */
-
- void *priv; /* bo private */
-
- struct list_head item_link; /* link of bo */
-
- tbm_surface_h surface; /* tbm_surface */
-
- int lock_cnt; /* lock count of bo */
-
- unsigned int map_cnt; /* device map count */
+ tbm_bufmgr bufmgr; /* tbm buffer manager */
+ int ref_cnt; /* ref count of bo */
+ int flags; /* TBM_BO_FLAGS :bo memory type */
+ struct list_head user_data_list; /* list of the user_date in bo */
+ void *priv; /* bo private */
+ struct list_head item_link; /* link of bo */
+ tbm_surface_h surface; /* tbm_surface */
+ int lock_cnt; /* lock count of bo */
+ unsigned int map_cnt; /* device map count */
};
/**
*
*/
struct _tbm_bufmgr {
- pthread_mutex_t lock; /* mutex lock */
-
- int ref_count; /*reference count */
-
- int fd; /* bufmgr fd */
-
- int lock_type; /* lock_type of bufmgr */
-
- int capabilities; /* capabilities of bufmgr */
-
- unsigned int bo_cnt; /* number of bos */
-
- struct list_head bo_list; /* list of bos belonging to bufmgr */
-
- struct list_head surf_list; /* list of surfaces belonging to bufmgr */
-
+ pthread_mutex_t lock; /* mutex lock */
+ int ref_count; /* reference count */
+ int fd; /* bufmgr fd */
+ int lock_type; /* lock_type of bufmgr */
+ int capabilities; /* capabilities of bufmgr */
+ unsigned int bo_cnt; /* number of bos */
+ struct list_head bo_list; /* list of bos belonging to bufmgr */
+ struct list_head surf_list; /* list of surfaces belonging to bufmgr */
struct list_head surf_queue_list; /* list of surface queues belonging to bufmgr */
-
- struct list_head debug_key_list; /* list of debug data key list belonging to bufmgr */
-
+ struct list_head debug_key_list; /* list of debug data key list belonging to bufmgr */
void *module_data;
-
- tbm_bufmgr_backend backend; /* bufmgr backend */
+ tbm_bufmgr_backend backend; /* bufmgr backend */
};
/**