The changed symbols are below.
- tbm_module_bufmgr_alloc_bo
- tbm_module_bufmgr_alloc_bo_with_format
- tbm_module_bufmgr_import_bo_with_fd
- tbm_module_bufmgr_import_bo_with_key
Change-Id: Ia91b4fabc15777c06d153062d498eb38650df140
/* LCOV_EXCL_STOP */
}
- bo_data = tbm_module_bufmgr_bo_alloc(bufmgr->module, bo, size, flags, error);
+ bo_data = tbm_module_bufmgr_alloc_bo(bufmgr->module, bo, size, flags, error);
if (!bo_data) {
/* LCOV_EXCL_START */
- TBM_ERR("tbm_module_bufmgr_bo_alloc failed. size:%d flags:%s error:%d", size, _tbm_flag_to_str(flags), *error);
+ TBM_ERR("tbm_module_bufmgr_alloc_bo failed. size:%d flags:%s error:%d", size, _tbm_flag_to_str(flags), *error);
free(bo);
return NULL;
/* LCOV_EXCL_STOP */
goto fail;
}
- bo->bo_data = tbm_module_bufmgr_bo_alloc_with_format(bufmgr->module, format, bo_idx, width, height, bpp, flags, error);
+ bo->bo_data = tbm_module_bufmgr_alloc_bo_with_format(bufmgr->module, format, bo_idx, width, height, bpp, flags, error);
if (!bo->bo_data) {
/* LCOV_EXCL_START */
_tbm_set_last_result(*error);
/* LCOV_EXCL_STOP */
}
- bo->bo_data = tbm_module_bufmgr_bo_import_key(bufmgr->module, bo, key, error);
+ bo->bo_data = tbm_module_bufmgr_import_bo_with_key(bufmgr->module, bo, key, error);
if (!bo->bo_data) {
/* LCOV_EXCL_START */
- TBM_ERR("tbm_module_bufmgr_bo_import_key failed. tbm_key:%d", key);
+ TBM_ERR("tbm_module_bufmgr_import_bo_with_key failed. tbm_key:%d", key);
free(bo);
return NULL;
/* LCOV_EXCL_STOP */
/* LCOV_EXCL_STOP */
}
- bo->bo_data = tbm_module_bufmgr_bo_import_fd(bufmgr->module, bo, fd, error);
+ bo->bo_data = tbm_module_bufmgr_import_bo_with_fd(bufmgr->module, bo, fd, error);
if (!bo->bo_data) {
/* LCOV_EXCL_START */
- TBM_ERR("tbm_module_bufmgr_bo_import_fd failed. tbm_fd:%d", fd);
+ TBM_ERR("tbm_module_bufmgr_import_bo_with_fd failed. tbm_fd:%d", fd);
free(bo);
return NULL;
/* LCOV_EXCL_STOP */
tbm_error_e tbm_module_bufmgr_bind_native_display(tbm_module *module, void *native_display);
tbm_error_e tbm_module_bufmgr_get_supported_formats(tbm_module *module, uint32_t **formats, uint32_t *num);
tbm_error_e tbm_module_bufmgr_get_plane_data(tbm_module *module, int format, int plane_idx, uint32_t w, uint32_t h, uint32_t *size, uint32_t *offset, uint32_t *pitch, int *bo_idx);
-tbm_backend_bo_data *tbm_module_bufmgr_bo_alloc(tbm_module *module, tbm_bo bo, int size, int flags, tbm_error_e *error);
-tbm_backend_bo_data *tbm_module_bufmgr_bo_alloc_with_format(tbm_module *module, int format, int bo_idx, int width, int height, int bpp, tbm_bo_memory_type flags, tbm_error_e *error);
-tbm_backend_bo_data *tbm_module_bufmgr_bo_import_fd(tbm_module *module, tbm_bo bo, tbm_fd fd, tbm_error_e *error);
-tbm_backend_bo_data *tbm_module_bufmgr_bo_import_key(tbm_module *module, tbm_bo bo, tbm_key key, tbm_error_e *error);
+tbm_backend_bo_data *tbm_module_bufmgr_alloc_bo(tbm_module *module, tbm_bo bo, int size, int flags, tbm_error_e *error);
+tbm_backend_bo_data *tbm_module_bufmgr_alloc_bo_with_format(tbm_module *module, int format, int bo_idx, int width, int height, int bpp, tbm_bo_memory_type flags, tbm_error_e *error);
+tbm_backend_bo_data *tbm_module_bufmgr_import_bo_with_fd(tbm_module *module, tbm_bo bo, tbm_fd fd, tbm_error_e *error);
+tbm_backend_bo_data *tbm_module_bufmgr_import_bo_with_key(tbm_module *module, tbm_bo bo, tbm_key key, tbm_error_e *error);
void tbm_module_bo_free(tbm_module *module, tbm_bo bo, tbm_backend_bo_data *bo_data, int get_from_hal_surface);
int tbm_module_bo_get_size(tbm_module *module, tbm_bo bo, tbm_backend_bo_data *bo_data, tbm_error_e *error);
}
tbm_backend_bo_data *
-tbm_module_bufmgr_bo_alloc(tbm_module *module, tbm_bo bo, int size, int flags, tbm_error_e *error)
+tbm_module_bufmgr_alloc_bo(tbm_module *module, tbm_bo bo, int size, int flags, tbm_error_e *error)
{
tbm_backend_bo_data *bo_data = NULL;
tbm_backend_bufmgr_func *bufmgr_func = NULL;
}
tbm_backend_bo_data *
-tbm_module_bufmgr_bo_alloc_with_format(tbm_module *module, int format, int bo_idx, int width,
+tbm_module_bufmgr_alloc_bo_with_format(tbm_module *module, int format, int bo_idx, int width,
int height, int bpp, tbm_bo_memory_type flags, tbm_error_e *error)
{
tbm_backend_bo_data *bo_data = NULL;
tbm_backend_bo_data *
-tbm_module_bufmgr_bo_import_fd(tbm_module *module, tbm_bo bo, tbm_fd fd, tbm_error_e *error)
+tbm_module_bufmgr_import_bo_with_fd(tbm_module *module, tbm_bo bo, tbm_fd fd, tbm_error_e *error)
{
tbm_backend_bo_data *bo_data = NULL;
tbm_backend_bufmgr_func *bufmgr_func = NULL;
}
tbm_backend_bo_data *
-tbm_module_bufmgr_bo_import_key(tbm_module *module, tbm_bo bo, tbm_key key, tbm_error_e *error)
+tbm_module_bufmgr_import_bo_with_key(tbm_module *module, tbm_bo bo, tbm_key key, tbm_error_e *error)
{
tbm_backend_bo_data *bo_data = NULL;
tbm_backend_bufmgr_func *bufmgr_func = NULL;