From 25d2f3e1a856dd1ee60eb65f8013544d951bffea Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Fri, 19 Mar 2021 20:27:04 +0900 Subject: add cpp parameter for bufmgr_alloc_bo_with_format Change-Id: Ic702a2cc0338c5aebb513f738e1e7508e49e4566 --- src/libtbm-vigs/tbm_bufmgr_vigs.c | 6 +++--- 1 file 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; -- cgit v1.2.3