Change-Id: I1c8d8fcc4136846cdaf5685621032aeecb85fd04
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
return EINA_TRUE;
}
+EINTERN Eina_Bool
+e_plane_pp_commit_possible_check(E_Plane *plane)
+{
+ if (!plane->pp_set) return EINA_FALSE;
+
+ if (plane->pp_tqueue)
+ {
+ if (!tbm_surface_queue_can_dequeue(plane->pp_tqueue, 0))
+ return EINA_FALSE;
+ }
+
+ if (plane->pending_pp_data_list)
+ {
+ if (eina_list_count(plane->pending_pp_data_list) != 0)
+ return EINA_FALSE;
+ }
+
+ return EINA_TRUE;
+}
+
EINTERN Eina_Bool
e_plane_zoom_set(E_Plane *plane, Eina_Rectangle *rect)
{
EINTERN Eina_Bool e_plane_fb_target_set(E_Plane *plane, Eina_Bool set);
EINTERN Eina_List *e_plane_available_formats_get(E_Plane *plane);
EINTERN Eina_Bool e_plane_pp_commit(E_Plane *plane);
+EINTERN Eina_Bool e_plane_pp_commit_possible_check(E_Plane *plane);
EINTERN Eina_Bool e_plane_zoom_set(E_Plane *plane, Eina_Rectangle *rect);
EINTERN void e_plane_zoom_unset(E_Plane *plane);
EINTERN Eina_Bool e_plane_fps_get(E_Plane *plane, double *fps);