Since E20 don't mark damages on e_comp_object when it comes to
'E_COMP_WL_BUFFER_TYPE_VIDEO', so it shouldn't make a call e_pixmap_image_clear(TRUE).
It will be handled by video implementation.
Change-Id: I05eb5e065e59fa927816593025b29be309a05e6f
Eina_Bool ignored;
_e_comp_wl_surface_state_commit(ec, &ec->comp_data->pending);
- if (!e_comp_object_damage_exists(ec->frame))
+ if ((!e_comp_object_damage_exists(ec->frame)) &&
+ (!e_client_video_hw_composition_check(ec)))
e_pixmap_image_clear(ec->pixmap, 1);
ignored = ec->ignored;
e_comp_wl_surface_state_commit(ec, &sdata->cached);
- if (!e_comp_object_damage_exists(ec->frame))
+ if ((!e_comp_object_damage_exists(ec->frame)) &&
+ (!e_client_video_hw_composition_check(ec)))
e_pixmap_image_clear(ec->pixmap, 1);
e_comp_wl_buffer_reference(&sdata->cached_buffer_ref, NULL);