hwc->pp_output_commit = EINA_FALSE;
+ _e_hwc_windows_commit_data_release(hwc, sequence, tv_sec, tv_usec);
+ hwc->wait_commit = EINA_FALSE;
+ hwc->pp_commit = EINA_FALSE;
+
/* layer already resetted */
if (hwc->pp_output_commit_data)
{
hwc->pp_hwc_window_list = eina_list_remove(hwc->pp_hwc_window_list, hwc_window);
- if (hwc_window->ec) e_pixmap_image_clear(hwc_window->ec->pixmap, 1);
- e_hwc_window_commit_data_release(hwc_window);
-
- if (eina_list_count(hwc->pending_pp_hwc_window_list) == 0)
- {
- hwc->wait_commit = EINA_FALSE;
- hwc->pp_commit = EINA_FALSE;
- }
-
EHWSTRACE("!!!!!!!! HWC PP Commit Handler !!!!!!!!", NULL, hwc);
EHWSTRACE(" tsurface src(%p) dst(%p)", NULL, hwc, tsurface_src, tsurface_dst);
if (e_hwc_window_is_target(hwc_window)) continue;
e_hwc_window_constraints_update(hwc_window);
- if (hwc->pp_hwc_window)
+ if (hwc->pp_hwc_window == hwc_window)
e_hwc_window_pp_rendered_window_update(hwc_window);
else
e_hwc_window_rendered_window_update(hwc_window);