3 #ifndef E_MOD_COMP_DEBUG_H
4 #define E_MOD_COMP_DEBUG_H
6 #define E_CHECK(x) do {if (!(x)) return; } while(0)
7 #define E_CHECK_RETURN(x, r) do {if (!(x)) return (r);} while(0)
8 #define E_CHECK_GOTO(x, l) do {if (!(x)) goto l; } while(0)
10 #define COMP_DEBUG_PIXMAP 0
13 EAPI Ecore_X_Pixmap e_mod_comp_debug_name_window_pixmap_get(Ecore_X_Window w, const char *f, const int l);
15 #define ecore_x_composite_name_window_pixmap_get(w) \
16 e_mod_comp_debug_name_window_pixmap_get(w, __func__, __LINE__)
18 #define ecore_x_pixmap_free(p) { \
19 ecore_x_pixmap_free(p); \
21 "[COMP] %30.30s|%04d 0x%08x FREE PIXMAP 0x%x\n", \
22 __func__, __LINE__, e_mod_comp_util_client_xid_get(cw), p); \
24 #endif /* COMP_DEBUG_PIXMAP */
26 /* TODO: clean up nocomp logic */
27 #define USE_NOCOMP_DISPOSE 0
29 #define MOVE_IN_EFFECT 0
30 #define DEBUG_HWC_COLOR 0
32 #define OPTIMIZED_HWC_MOBILE 1
33 #define HWC_ROTATION_PATCH 0
34 #define SEND_LAUNCHING_DONE 1
36 EAPI Eina_Bool e_mod_comp_debug_info_dump(Eina_Bool to_file, const char *name);
37 EAPI Eina_Bool e_mod_comp_debug_edje_error_get(Evas_Object *o, Ecore_X_Window win);
38 EAPI Eina_Bool e_mod_comp_debug_prop_handle(Ecore_X_Event_Window_Property *ev);