e_plane: set full damage to surface if first client buffer is set to layer 11/179011/3 accepted/tizen/4.0/unified/20180516.065633 submit/tizen_4.0/20180515.115631
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 14 May 2018 10:57:58 +0000 (19:57 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 15 May 2018 11:55:33 +0000 (11:55 +0000)
Change-Id: I7b026020c0cff69a515cc11a0755f6d32ad584aa

src/bin/e_plane.c

index dc551bc..bf35229 100644 (file)
@@ -426,6 +426,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);