From 1999f97b8d29437db42b9e570c14feef7faff5a7 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Tue, 22 Jun 2021 10:10:51 +0900 Subject: [PATCH] tbm_module: add tbm_backend_surface_data structure The tbm_backend_surface_data is a resource information from HAL-TBM. Change-Id: Iec3dfc8630dd0e2059a64d22e53c9edb91cb570d --- src/tbm_module.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tbm_module.h b/src/tbm_module.h index 536997e..b85b855 100644 --- a/src/tbm_module.h +++ b/src/tbm_module.h @@ -68,6 +68,11 @@ typedef struct _tbm_module { hal_tbm_bufmgr *hal_bufmgr; /* hal-api-tbm bufmgr */ } tbm_module; +typedef struct _tbm_backend_surface_data { + tbm_module *module; + hal_tbm_surface *hal_surface; +} tbm_backend_surface_data; + /* tbm_module functions */ tbm_module *tbm_module_load(int fd); void tbm_module_unload(tbm_module *module); @@ -92,4 +97,4 @@ tbm_error_e tbm_module_bo_unlock(tbm_module *module, tbm_bo bo, tbm_backend_bo tbm_fd tbm_module_bo_export_fd(tbm_module *module, tbm_bo bo, tbm_backend_bo_data *bo_data, tbm_error_e *error); tbm_key tbm_module_bo_export_key(tbm_module *module, tbm_bo bo, tbm_backend_bo_data *bo_data, tbm_error_e *error); -#endif // _TBM_MODULE_H_ \ No newline at end of file +#endif // _TBM_MODULE_H_ -- 2.7.4