e_plane: send frame::done event 45/97145/1
authorSangjin Lee <lsj119@samsung.com>
Fri, 11 Nov 2016 08:34:48 +0000 (17:34 +0900)
committerSangjin Lee <lsj119@samsung.com>
Fri, 11 Nov 2016 08:34:48 +0000 (17:34 +0900)
if e_plane_fetch is failed, call e_pixmap_image_clear() for frame::done event.
if not send this event, client(SW backend) is blocked.

Change-Id: Id11e44e178b02d029da149e9fdbd273b6c14ada8

src/bin/e_plane.c

index f4a47fe58e8db46351bcc32258b58b613afd65c4..2a2266a64747c6da1a720faa6695274e1b7c5603 100644 (file)
@@ -703,6 +703,10 @@ e_plane_fetch(E_Plane *plane)
           tsurface = _e_plane_surface_from_client_acquire_reserved(plane);
         else
           tsurface = _e_plane_surface_from_client_acquire(plane);
+
+        /* For send frame::done to client */
+        if (!tsurface)
+          e_pixmap_image_clear(plane->ec->pixmap, 1);
      }
 
    if (!tsurface) return EINA_FALSE;