summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2021-03-19 20:55:44 +0900
committerSooChan Lim <sc1.lim@samsung.com>2021-03-19 20:58:32 +0900
commitd3f8581edad63946a356e5d07d7921fa4155853a (patch)
treee26a6337b46f1178e4c29e1f419602645f7e28c9
parent25d2f3e1a856dd1ee60eb65f8013544d951bffea (diff)
downloadlibtbm-vigs-d3f8581edad63946a356e5d07d7921fa4155853a.tar.gz
libtbm-vigs-d3f8581edad63946a356e5d07d7921fa4155853a.tar.bz2
libtbm-vigs-d3f8581edad63946a356e5d07d7921fa4155853a.zip
Revert "add cpp parameter for bufmgr_alloc_bo_with_format"
This reverts commit 25d2f3e1a856dd1ee60eb65f8013544d951bffea. Change-Id: I774e9bf75df5c806cf6fc33522f024e3bbcf6327
-rwxr-xr-xsrc/libtbm-vigs/tbm_bufmgr_vigs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libtbm-vigs/tbm_bufmgr_vigs.c b/src/libtbm-vigs/tbm_bufmgr_vigs.c
index df6c652..d2b6d0b 100755
--- a/src/libtbm-vigs/tbm_bufmgr_vigs.c
+++ b/src/libtbm-vigs/tbm_bufmgr_vigs.c
@@ -341,8 +341,8 @@ tbm_vigs_bufmgr_alloc_bo(tbm_backend_bufmgr_data *bufmgr_data, unsigned int size
}
static tbm_backend_bo_data *
-tbm_vigs_bufmgr_alloc_bo_with_format(tbm_backend_bufmgr_data *bufmgr_data, int format, int bo_idx,
- int width, int height, int cpp, tbm_bo_memory_type flags, tbm_error_e *error)
+tbm_bufmgr_vigs_alloc_bo_with_format(tbm_backend_bufmgr_data *bufmgr_data, int format, int bo_idx,
+ int width, int height, tbm_bo_memory_type flags, tbm_error_e *error)
{
tbm_bufmgr_vigs bufmgr_vigs = (tbm_bufmgr_vigs)bufmgr_data;
tbm_bo_vigs bo_vigs;
@@ -881,7 +881,7 @@ tbm_vigs_init(tbm_bufmgr bufmgr, tbm_error_e *error)
bufmgr_func->bufmgr_get_supported_formats = tbm_vigs_bufmgr_get_supported_formats;
bufmgr_func->bufmgr_get_plane_data = tbm_vigs_bufmgr_get_plane_data;
bufmgr_func->bufmgr_alloc_bo = tbm_vigs_bufmgr_alloc_bo;
- bufmgr_func->bufmgr_alloc_bo_with_format = tbm_vigs_bufmgr_alloc_bo_with_format;
+ bufmgr_func->bufmgr_alloc_bo_with_format = tbm_bufmgr_vigs_alloc_bo_with_format;
bufmgr_func->bufmgr_import_fd = tbm_vigs_bufmgr_import_fd;
bufmgr_func->bufmgr_import_key = tbm_vigs_bufmgr_import_key;