e_comp_object: refresh e_pixmap if it's cleared before renderring
authorBoram Park <boram1288.park@samsung.com>
Wed, 20 Jan 2016 04:35:22 +0000 (13:35 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Thu, 21 Jan 2016 07:20:13 +0000 (16:20 +0900)
   See f124f1bfcae58cea.

Change-Id: I90328d5ed28198c0ae248c1606aee0392934d8df

src/bin/e_comp_object.c

index 12a8eea6b92d95d7def8792a7496a003978cd5c0..37910e2a797020f4c0020f53ccbc84ce0e836382 100644 (file)
@@ -3918,6 +3918,13 @@ e_comp_object_render(Evas_Object *obj)
    pix = evas_object_image_data_get(cw->obj, EINA_TRUE);
    stride = evas_object_image_stride_get(cw->obj);
    srcpix = e_pixmap_image_data_get(cw->ec->pixmap);
+
+   if (!srcpix)
+     {
+        e_pixmap_image_refresh(cw->ec->pixmap);
+        srcpix = e_pixmap_image_data_get(cw->ec->pixmap);
+     }
+
    EINA_ITERATOR_FOREACH(it, r)
      {
 #ifdef HAVE_WAYLAND_ONLY