unsigned int map_cnt; /* device map count */
tbm_backend_bo_data *bo_data; /* bo data of the backend module */
+ int get_from_hal_surface; /* bo_data has be detroyed by hal backend */
};
/**
int width;
int height;
} damage;
+
+ hal_tbm_surface *hal_surface; // hal_tbm_surface
};
typedef struct {
void _tbm_bufmgr_mutex_lock(void);
void _tbm_bufmgr_mutex_unlock(void);
-tbm_bo tbm_bo_alloc_with_format(tbm_bufmgr bufmgr, int format, int bo_idx, int width,
+tbm_bo tbm_bo_alloc_with_format(tbm_bufmgr bufmgr, int format, int bo_idx, int width, int bpp,
int height, tbm_bo_memory_type flags, tbm_error_e *error);
tbm_bo tbm_bo_alloc_with_tiled_format(tbm_bufmgr bufmgr, int width, int height, int bpp, int format,
tbm_bo_memory_type flags, int bo_idx, tbm_error_e *error);
tbm_bo tbm_bo_alloc_with_surface(tbm_bufmgr bufmgr, int width, int height, int format, int flags, int bo_idx);
+tbm_bo tbm_bo_alloc_with_bo_data(tbm_bufmgr bufmgr, tbm_backend_bo_data *bo_data, int flags);
#endif /* _TBM_BUFMGR_INT_H_ */