erase unnecessary header file
authorJunkyeong Kim <jk0430.kim@samsung.com>
Wed, 27 Jan 2021 06:39:37 +0000 (15:39 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Wed, 27 Jan 2021 06:39:41 +0000 (15:39 +0900)
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
include/hal-tbm-frontend.h [deleted file]

diff --git a/include/hal-tbm-frontend.h b/include/hal-tbm-frontend.h
deleted file mode 100644 (file)
index 38b3c4f..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/**************************************************************************
- *
- * hal-api-tbm
- *
- * Copyright 2021 Samsung Electronics co., Ltd. All Rights Reserved.
- *
- * Contact: Chanwoo Choi <cw00.choi@samsung.com>,
- *          SooChan Lim <sc1.lim@samsung.com>,
- *          Junkyeong Kim <jk0430.kim@samsung.com>
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sub license, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice (including the
- * next paragraph) shall be included in all copies or substantial portions
- * of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
- * IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
- * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
-**************************************************************************/
-
-#ifndef __HAL_TBM__
-#define __HAL_TBM__
-
-#include "hal-tbm-interface.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* tbm_bufmgr_func */
-tbm_bufmgr_capability hal_tbm_bufmgr_get_capabilities(tbm_backend_bufmgr_data *bufmgr_data, tbm_error_e *error);
-tbm_error_e hal_tbm_bufmgr_bind_native_display(tbm_backend_bufmgr_data *bufmgr_data, tbm_native_display *native_display);
-tbm_error_e hal_tbm_bufmgr_get_supported_formats(tbm_backend_bufmgr_data *bufmgr_data, uint32_t **formats, uint32_t *num);
-tbm_error_e hal_tbm_bufmgr_get_plane_data(tbm_backend_bufmgr_data *bufmgr_data, tbm_format format, int plane_idx, int width, int height,
-                                                                       uint32_t *size, uint32_t *offset, uint32_t *pitch, int *bo_idx);
-tbm_backend_bo_data *hal_tbm_bufmgr_alloc_bo(tbm_backend_bufmgr_data *bufmgr_data, unsigned int size, tbm_bo_memory_type mem_types, tbm_error_e *error);
-tbm_backend_bo_data *hal_tbm_bufmgr_alloc_bo_with_format(tbm_backend_bufmgr_data *bufmgr_data, int format, int bo_idx, int width, int height,
-                                                                       tbm_bo_memory_type mem_types, tbm_error_e *error);
-tbm_backend_bo_data *hal_tbm_bufmgr_alloc_bo_with_tiled_format(tbm_backend_bufmgr_data *bufmgr_data, int width, int height, int bpp, int format,
-                                                                       tbm_bo_memory_type flags, int bo_idx, tbm_error_e *error);
-tbm_backend_bo_data *hal_tbm_bufmgr_import_fd(tbm_backend_bufmgr_data *bufmgr_data, tbm_fd fd, tbm_error_e *error);
-tbm_backend_bo_data *hal_tbm_bufmgr_import_key(tbm_backend_bufmgr_data *bufmgr_data, tbm_key key, tbm_error_e *error);
-
-/* tbm_bo_func*/
-void hal_tbm_bo_free(tbm_backend_bo_data *bo_data);
-int hal_tbm_bo_get_size(tbm_backend_bo_data *bo_data, tbm_error_e *error);
-tbm_bo_memory_type hal_tbm_bo_get_memory_types(tbm_backend_bo_data *bo_data, tbm_error_e *error);
-tbm_bo_handle hal_tbm_bo_get_handle(tbm_backend_bo_data *bo_data, tbm_bo_device_type device, tbm_error_e *error);
-tbm_bo_handle hal_tbm_bo_map(tbm_backend_bo_data *bo_data, tbm_bo_device_type device, tbm_bo_access_option opt, tbm_error_e *error);
-tbm_error_e hal_tbm_bo_unmap(tbm_backend_bo_data *bo_data);
-tbm_error_e hal_tbm_bo_lock(tbm_backend_bo_data *bo_data, tbm_bo_device_type device, tbm_bo_access_option opt);
-tbm_error_e hal_tbm_bo_unlock(tbm_backend_bo_data *bo_data);
-tbm_fd hal_tbm_bo_export_fd(tbm_backend_bo_data *bo_data, tbm_error_e *error);
-tbm_key hal_tbm_bo_export_key(tbm_backend_bo_data *bo_data, tbm_error_e *error);
-
-#ifdef __cplusplus
-}
-#endif
-#endif /* __HAL_TBM__ */