tizen 2.4 release
[framework/uifw/e17-mod-tizen-comp.git] / src / hwcomp / hwcomp_debug.h
1 #ifdef E_TYPEDEFS
2 #else
3 #ifndef HWCOMP_DEBUG_H
4 #define HWCOMP_DEBUG_H
5
6
7 #if DEBUG_HWC
8
9 void _hwcomp_debug_print_update(E_Comp_HWComp_Update *hwc_update, const char *str);
10 void _hwcomp_debug_print_change_update(E_Comp_HWComp_Update *cur_hwc_update, E_Comp_HWComp_Update *new_hwc_update, const char *str);
11
12 #define _hwcomp_dbg_print_update(hwc_update, str)  _hwcomp_debug_print_update(hwc_update, str)
13 #define _hwcomp_dbg_print_change_update(cur_hwc_update, new_hwc_update, str) _hwcomp_debug_print_change_update(cur_hwc_update, new_hwc_update, str)
14 #define _hwcomp_dbg_elbf(t, b, i, f, x...) ELBF(t, b, i, f, ##x)
15
16 #else /* else of DEBUG_HWC */
17
18 #define _hwcomp_dbg_print_update(hwc_update, str)
19 #define _hwcomp_dbg_print_change_update(cur_hwc_update, new_hwc_update, str)
20 #define _hwcomp_dbg_elbf(t, b, i, f, x...)
21
22 #endif /* End of DEBUG_HWC */
23
24
25 #endif
26 #endif