video: Revert removal of 'video_client' from 'E_Comp_Wl_Client_Data'. 46/207246/1 accepted/tizen/unified/20190603.095151 submit/tizen/20190530.022318 submit/tizen/20190531.051925
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 31 May 2019 05:12:32 +0000 (14:12 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Fri, 31 May 2019 05:12:32 +0000 (14:12 +0900)
This patch fixes build break for E modules.

Change-Id: I21144d42b817e48b440df2960b4e34d549b3bb85

src/bin/e_comp_wl.h
src/bin/video/e_client_video.c

index 3164399..0d57eed 100644 (file)
@@ -458,6 +458,7 @@ struct _E_Comp_Wl_Client_Data
    Eina_Bool maximize_pre : 1;
    Eina_Bool focus_update : 1;
    Eina_Bool opaque_state : 1;
+   Eina_Bool video_client : 1; // Deprecated
    Eina_Bool has_video_client : 1;
    Eina_Bool never_hwc : 1;          //  force window not to do hwc
    unsigned char accepts_focus : 1;
index c3f8ea3..49bc913 100644 (file)
@@ -344,6 +344,10 @@ e_client_video_hw_composition_set(E_Client_Video *ecv)
 {
    EINA_SAFETY_ON_NULL_RETURN(ecv);
    ecv->hw_composition = EINA_TRUE;
+
+   /* Deprecated */
+   if (ecv->ec->comp_data)
+     ecv->ec->comp_data->video_client = EINA_TRUE;
 }
 
 EINTERN void
@@ -351,6 +355,10 @@ e_client_video_hw_composition_unset(E_Client_Video *ecv)
 {
    EINA_SAFETY_ON_NULL_RETURN(ecv);
    ecv->hw_composition = EINA_FALSE;
+
+   /* Deprecated */
+   if (ecv->ec->comp_data)
+     ecv->ec->comp_data->video_client = EINA_FALSE;
 }
 
 EINTERN Eina_Bool