summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2021-03-19 20:27:04 +0900
committerSooChan Lim <sc1.lim@samsung.com>2021-03-19 20:27:04 +0900
commit25d2f3e1a856dd1ee60eb65f8013544d951bffea (patch)
tree7a51303a5ff86e0fadc35e02a3004a5c2c68fa72
parenta33c8a78114a8caad153edbb3695060e425373a0 (diff)
downloadlibtbm-vigs-25d2f3e1a856dd1ee60eb65f8013544d951bffea.tar.gz
libtbm-vigs-25d2f3e1a856dd1ee60eb65f8013544d951bffea.tar.bz2
libtbm-vigs-25d2f3e1a856dd1ee60eb65f8013544d951bffea.zip
add cpp parameter for bufmgr_alloc_bo_with_format
Change-Id: Ic702a2cc0338c5aebb513f738e1e7508e49e4566
-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 d2b6d0b..df6c652 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_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_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 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_bufmgr_vigs_alloc_bo_with_format;
+ bufmgr_func->bufmgr_alloc_bo_with_format = tbm_vigs_bufmgr_alloc_bo_with_format;
bufmgr_func->bufmgr_import_fd = tbm_vigs_bufmgr_import_fd;
bufmgr_func->bufmgr_import_key = tbm_vigs_bufmgr_import_key;