add cpp parameter for bufmgr_alloc_bo_with_format 13/255613/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 19 Mar 2021 11:27:04 +0000 (20:27 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 19 Mar 2021 11:27:04 +0000 (20:27 +0900)
Change-Id: Ic702a2cc0338c5aebb513f738e1e7508e49e4566

src/libtbm-vigs/tbm_bufmgr_vigs.c

index d2b6d0b..df6c652 100755 (executable)
@@ -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;