e_comp_object: Do not update the comp object if it is not redirected 04/264804/3
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 30 Sep 2021 05:06:22 +0000 (14:06 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Thu, 30 Sep 2021 05:14:12 +0000 (14:14 +0900)
if the comp object is not redirected, e20 does not want to update
the comp object at canvas.
in case of the comp object is displayed by hwc, it is not redirected.

Change-Id: I778fe323f3de27a5362192145278c81348ef1784

src/bin/e_comp_object.c

index 8fd3ff03d76d3118bc03191241bb440990cc1542..e626cb535916a6b5716ae7d8371493ac05aac011 100644 (file)
@@ -4846,6 +4846,7 @@ e_comp_object_dirty(Evas_Object *obj)
 
    API_ENTRY;
    if (cw->external_content) return;
+   if (!cw->redirected) return;
    /* only actually dirty if pixmap is available */
    if (!e_pixmap_resource_get(cw->ec->pixmap))
      {