e_comp: check only e_comp->hwc at hwc display client 06/69206/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 12 May 2016 06:03:07 +0000 (15:03 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 12 May 2016 06:03:07 +0000 (15:03 +0900)
Displaying client directly on the layer is decided inside hwc.
Therefore e_comp call the e_comp_hwc_display_client() when
the client commit is arrived at a server.

Change-Id: I6b53959cbb5f6635c14dbdac36cf80c751edcf2c

src/bin/e_comp_wl.c

index f1d67d54613d5e753ed34e1682c289d21a76799b..4160c6e63f03194dff4e0fadc4835bc0f6ca3fe1 100644 (file)
@@ -2318,10 +2318,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
 #ifdef HAVE_HWC
    /* HWC: if the compositor fall into the nocomposite mode,
           the compositor display e_client on the hw layer directly */
-   if (e_comp->hwc &&
-       e_comp->nocomp &&
-       e_comp->nocomp_ec == ec &&
-       buffer)
+   if (e_comp->hwc && buffer)
      {
         e_comp_hwc_display_client(ec);
      }