e_plane: set full damage to surface if first client buffer is set to layer 92/178892/5
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 14 May 2018 10:57:58 +0000 (19:57 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 31 May 2018 04:04:16 +0000 (04:04 +0000)
Change-Id: I7b026020c0cff69a515cc11a0755f6d32ad584aa

src/bin/e_plane.c

index 36384ab..6b41aea 100644 (file)
@@ -396,6 +396,9 @@ _e_plane_surface_set(E_Plane *plane, tbm_surface_h tsurface)
           }
      }
 
+   if (plane->ec && !plane->display_info.buffer_ref.buffer)
+     tbm_surface_internal_set_damage(tsurface, 0, 0, surf_info.width, surf_info.height);
+
    if (plane_trace_debug)
      ELOGF("E_PLANE", "Set  Plane(%p)     tsurface(%p)", NULL, NULL, plane, tsurface);