static Eina_Inlist *_e_hwc_window_hooks[] =
{
[E_HWC_WINDOW_HOOK_ACCEPTED_STATE_SET] = NULL,
+ [E_HWC_WINDOW_HOOK_VIDEO_SET] = NULL,
};
static void
hwc_window->is_video = set;
+ _e_hwc_window_hook_call(E_HWC_WINDOW_HOOK_VIDEO_SET, hwc_window);
+
return EINA_TRUE;
}
#define EHW_C(b,m) (b ? ((b) >> (m)) & 0xFF : ' ')
#define EHW_FOURCC_STR(id) EHW_C(id,0), EHW_C(id,8), EHW_C(id,16), EHW_C(id,24)
+#define E_HWC_WINDOW_HOOK_APPEND(list, type, callback, data) \
+ do \
+ { \
+ E_Hwc_Window_Hook *_ch; \
+ _ch = e_hwc_window_hook_add(type, callback, data); \
+ assert(_ch); \
+ list = eina_list_append(list, _ch); \
+ } \
+ while (0)
+
typedef struct _E_Hwc_Window_Commit_Data E_Hwc_Window_Commit_Data;
typedef struct _E_Hwc_Window_Hook E_Hwc_Window_Hook;
typedef enum _E_Hwc_Window_Hook_Point
{
E_HWC_WINDOW_HOOK_ACCEPTED_STATE_SET,
+ E_HWC_WINDOW_HOOK_VIDEO_SET,
E_HWC_WINDOW_HOOK_LAST
} E_Hwc_Window_Hook_Point;
#define CLEAR(x) memset(&(x), 0, sizeof (x))
#endif
-#define E_HWC_WINDOW_HOOK_APPEND(list, type, callback, data) \
- do \
- { \
- E_Hwc_Window_Hook *_ch; \
- _ch = e_hwc_window_hook_add(type, callback, data); \
- assert(_ch); \
- list = eina_list_append(list, _ch); \
- } \
- while (0)
-
#define E_HWC_HOOK_APPEND(list, type, callback, data) \
do \
{ \