tdm_common.h \
tdm_types.h \
tdm_list.h \
- tdm_config.h \
tdm_log.h \
tdm_backend.h \
tdm_helper.h \
+++ /dev/null
-/**************************************************************************
- *
- * libtdm
- *
- * Copyright 2015 Samsung Electronics co., Ltd. All Rights Reserved.
- *
- * Contact: Eunchul Kim <chulspro.kim@samsung.com>,
- * JinYoung Jeon <jy0.jeon@samsung.com>,
- * Taeheon Kim <th908.kim@samsung.com>,
- * YoungJun Cho <yj44.cho@samsung.com>,
- * SooChan Lim <sc1.lim@samsung.com>,
- * Boram Park <boram1288.park@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 _TDM_CONFIG_H_
-#define _TDM_CONFIG_H_
-
-#include "tdm_common.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "tdm_common.h"
-
-/**
- * @file tdm_config.h
- * @brief The config header file for a frontend library
- */
-
-tdm_error
-tdm_config_init(void);
-void
-tdm_config_deinit(void);
-
-tdm_error
-tdm_config_set_int(const char *key, int value);
-tdm_error
-tdm_config_set_string(const char *key, const char *value);
-
-
-#define TDM_CONFIG_DELIM ", "
-
-/*** general keys ************************************************************/
-
-/* backends order list to load.
- * default: libtdm-default.so
- * ex) libtdm-default.so,libtdm-dummy.so
- */
-#define TDM_CONFIG_KEY_GENERAL_BACKENDS "general:backends"
-
-/* enable thd tdm thread. [0(disable), 1(enable)]
- * default: 0
- * ex) 1
- */
-#define TDM_CONFIG_KEY_GENERAL_THREAD "general:thread"
-
-/* enable the tdm commit-per-vblank functionality. [0(disable), 1(enable)]
- * default: 0
- * ex) 1
- */
-#define TDM_CONFIG_KEY_GENERAL_COMMIT_PER_VBLANK "general:commit_per_vblank"
-
-
-/*** debug keys **************************************************************/
-
-/* debugging module list. [0(disable), 1(enable)]
- * default: 1
- * ex) 0
- */
-#define TDM_CONFIG_KEY_DEBUG_DLOG "debug:dlog"
-
-/* debugging module list. [none,all,buffer,thread,event,mutex,vblank,commit]
- * default: none
- * ex) mutex,vblank
- */
-#define TDM_CONFIG_KEY_DEBUG_MODULE "debug:module"
-
-/* debugging dump list. [none,current,all,layer,pp,capture,window]
- * default: none
- * ex) layer,capture
- */
-#define TDM_CONFIG_KEY_DEBUG_DUMP "debug:dump"
-
-/* debugging log path. [{filepath}]
- * default:
- * ex) /var/tdm.log
- */
-#define TDM_CONFIG_KEY_DEBUG_LOG_PATH "debug:log_path"
-
-/* debugging log level. [1(ERR),2(WRN),3(INFO),4(DBG)]
- * default: 3
- * ex) 4
- */
-#define TDM_CONFIG_KEY_DEBUG_LOG_LEVEL "debug:log_level"
-
-/* debugging log level to assert. [0(NONE),1(ERR),2(WRN),3(INFO),4(DBG)]
- * default: 0
- * ex) 1
- */
-#define TDM_CONFIG_KEY_DEBUG_ASSERT_LEVEL "debug:assert_level"
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _TDM_CONFIG_H_ */
%{_includedir}/tdm_list.h
%{_includedir}/tdm_log.h
%{_includedir}/tdm_types.h
-%{_includedir}/tdm_config.h
%{_includedir}/tdm_deprecated.h
%{_libdir}/pkgconfig/libtdm.pc
%{_libdir}/libtdm.so
--- /dev/null
+/**************************************************************************
+ *
+ * libtdm
+ *
+ * Copyright 2015 Samsung Electronics co., Ltd. All Rights Reserved.
+ *
+ * Contact: Eunchul Kim <chulspro.kim@samsung.com>,
+ * JinYoung Jeon <jy0.jeon@samsung.com>,
+ * Taeheon Kim <th908.kim@samsung.com>,
+ * YoungJun Cho <yj44.cho@samsung.com>,
+ * SooChan Lim <sc1.lim@samsung.com>,
+ * Boram Park <boram1288.park@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 _TDM_CONFIG_H_
+#define _TDM_CONFIG_H_
+
+#include "tdm_common.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "tdm_common.h"
+
+/**
+ * @file tdm_config.h
+ * @brief The config header file for a frontend library
+ */
+
+void
+tdm_config_deinit(void);
+
+tdm_error
+tdm_config_set_int(const char *key, int value);
+tdm_error
+tdm_config_set_string(const char *key, const char *value);
+
+
+#define TDM_CONFIG_DELIM ", "
+
+/*** general keys ************************************************************/
+
+/* backends order list to load.
+ * default: libtdm-default.so
+ * ex) libtdm-default.so,libtdm-dummy.so
+ */
+#define TDM_CONFIG_KEY_GENERAL_BACKENDS "general:backends"
+
+/* enable thd tdm thread. [0(disable), 1(enable)]
+ * default: 0
+ * ex) 1
+ */
+#define TDM_CONFIG_KEY_GENERAL_THREAD "general:thread"
+
+/* enable the tdm commit-per-vblank functionality. [0(disable), 1(enable)]
+ * default: 0
+ * ex) 1
+ */
+#define TDM_CONFIG_KEY_GENERAL_COMMIT_PER_VBLANK "general:commit_per_vblank"
+
+
+/*** debug keys **************************************************************/
+
+/* debugging module list. [0(disable), 1(enable)]
+ * default: 1
+ * ex) 0
+ */
+#define TDM_CONFIG_KEY_DEBUG_DLOG "debug:dlog"
+
+/* debugging module list. [none,all,buffer,thread,event,mutex,vblank,commit]
+ * default: none
+ * ex) mutex,vblank
+ */
+#define TDM_CONFIG_KEY_DEBUG_MODULE "debug:module"
+
+/* debugging dump list. [none,current,all,layer,pp,capture,window]
+ * default: none
+ * ex) layer,capture
+ */
+#define TDM_CONFIG_KEY_DEBUG_DUMP "debug:dump"
+
+/* debugging log path. [{filepath}]
+ * default:
+ * ex) /var/tdm.log
+ */
+#define TDM_CONFIG_KEY_DEBUG_LOG_PATH "debug:log_path"
+
+/* debugging log level. [1(ERR),2(WRN),3(INFO),4(DBG)]
+ * default: 3
+ * ex) 4
+ */
+#define TDM_CONFIG_KEY_DEBUG_LOG_LEVEL "debug:log_level"
+
+/* debugging log level to assert. [0(NONE),1(ERR),2(WRN),3(INFO),4(DBG)]
+ * default: 0
+ * ex) 1
+ */
+#define TDM_CONFIG_KEY_DEBUG_ASSERT_LEVEL "debug:assert_level"
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _TDM_CONFIG_H_ */