if (plane->wait_commit)
return EINA_FALSE;
- if (plane->pp_layer_commit && !plane->pp_set && plane->is_fb)
+ if (plane->pp_layer_commit && !plane->pp_set)
return EINA_FALSE;
if (plane->is_fb && !plane->ec)
plane->wait_commit = EINA_TRUE;
- if (plane->tpp)
- {
- if (!plane->pp_set && !plane->pp_commit && plane->is_fb)
- {
- tdm_pp_destroy(plane->tpp);
- plane->tpp = NULL;
- }
- }
-
return EINA_TRUE;
}
ELOGF("E_PLANE", "PP Commit Handler Plane(%p)", NULL, NULL, plane);
/* if pp_set is false, skip the commit */
- if (!plane->pp_set) goto done;
+ if (!plane->pp_set)
+ {
+ if (plane->tpp)
+ {
+ tdm_pp_destroy(plane->tpp);
+ plane->tpp = NULL;
+ }
+ goto done;
+ }
if (!_e_plane_pp_layer_commit(plane, tsurface_dst))
ERR("fail to _e_plane_pp_layer_commit");