-Copyright 2013 Samsung Electronics co., Ltd. All Rights Reserved.
+Copyright 2021 Samsung Electronics co., Ltd. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
# Package Information for pkg-config
-package_name=hal-api-foo
+package_name=hal-api-tbm
prefix=@PREFIX@
exec_prefix=@EXEC_PREFIX@/hal
libdir=@LIBDIR@/hal
/**
* @brief Enumeration of tbm buffer manager capability.
*/
-typedef enum _hal_tbm_bufmgr_capability {
+typedef enum {
HAL_TBM_BUFMGR_CAPABILITY_NONE = 0, /**< Not Support capability*/
HAL_TBM_BUFMGR_CAPABILITY_SHARE_KEY = (1 << 0), /**< Support sharing buffer by tbm key */
HAL_TBM_BUFMGR_CAPABILITY_SHARE_FD = (1 << 1), /**< Support sharing buffer by tbm fd */
/**
* @brief Enumeration of bo memory type
*/
-typedef enum _hal_tbm_bo_memory_type {
+typedef enum {
HAL_TBM_BO_DEFAULT = 0, /**< default memory: it depends on the backend */
HAL_TBM_BO_SCANOUT = (1 << 0), /**< scanout memory */
HAL_TBM_BO_NONCACHABLE = (1 << 1), /**< non-cachable memory */