goto no_commit;
if (evh->hwc_policy == E_HWC_POLICY_PLANES)
- res = e_video_hwc_planes_frame_buffer_show(evh, vbuf);
+ res = e_video_hwc_planes_buffer_commit(evh, vbuf);
else
- res = e_video_hwc_windows_frame_buffer_show(evh, vbuf);
+ res = e_video_hwc_windows_buffer_commit(evh, vbuf);
if (!res)
goto no_commit;
if (need_hide)
{
if (evh->hwc_policy == E_HWC_POLICY_PLANES)
- e_video_hwc_planes_frame_buffer_show(evh, NULL);
+ e_video_hwc_planes_buffer_commit(evh, NULL);
else
- e_video_hwc_windows_frame_buffer_show(evh, NULL);
+ e_video_hwc_windows_buffer_commit(evh, NULL);
}
}
if (evh->current_fb || evh->committed_list)
{
if (evh->hwc_policy == E_HWC_POLICY_PLANES)
- e_video_hwc_planes_frame_buffer_show(evh, NULL);
+ e_video_hwc_planes_buffer_commit(evh, NULL);
else
- e_video_hwc_windows_frame_buffer_show(evh, NULL);
+ e_video_hwc_windows_buffer_commit(evh, NULL);
}
if (evh->current_fb)
EINTERN E_Video_Hwc *e_video_hwc_planes_create(void);
EINTERN Eina_Bool e_video_hwc_planes_init(E_Video_Hwc *evh);
-EINTERN Eina_Bool e_video_hwc_planes_frame_buffer_show(E_Video_Hwc *evh, E_Comp_Wl_Video_Buf *vbuf);
+EINTERN Eina_Bool e_video_hwc_planes_buffer_commit(E_Video_Hwc *evh, E_Comp_Wl_Video_Buf *vbuf);
EINTERN Eina_Bool e_video_hwc_planes_check_if_pp_needed(E_Video_Hwc *evh);
EINTERN Eina_Bool e_video_hwc_planes_properties_commit(E_Video_Hwc *evh);
EINTERN Eina_Bool e_video_hwc_planes_commit_available_check(E_Video_Hwc *evh);
EINTERN E_Video_Hwc *e_video_hwc_windows_create(void);
EINTERN Eina_Bool e_video_hwc_windows_init(E_Video_Hwc *evh);
-EINTERN Eina_Bool e_video_hwc_windows_frame_buffer_show(E_Video_Hwc *evh, E_Comp_Wl_Video_Buf *vbuf);
+EINTERN Eina_Bool e_video_hwc_windows_buffer_commit(E_Video_Hwc *evh, E_Comp_Wl_Video_Buf *vbuf);
EINTERN Eina_Bool e_video_hwc_windows_check_if_pp_needed(E_Video_Hwc *evh);
EINTERN Eina_Bool e_video_hwc_windows_commit_available_check(E_Video_Hwc *evh);
EINTERN tbm_surface_h e_video_hwc_windows_displaying_buffer_get(E_Video_Hwc *evh);
static Eina_Bool _e_video_hwc_planes_set(E_Video_Hwc_Planes *evhp);
static void _e_video_hwc_planes_destroy(E_Video_Hwc_Planes *evhp);
-static Eina_Bool _e_video_hwc_planes_frame_buffer_show(E_Video_Hwc_Planes *evhp, E_Comp_Wl_Video_Buf *vbuf);
+static Eina_Bool _e_video_hwc_planes_buffer_commit(E_Video_Hwc_Planes *evhp, E_Comp_Wl_Video_Buf *vbuf);
static void _e_video_hwc_planes_cb_eplane_video_set_hook(void *data, E_Plane *plane);
static tdm_layer* _e_video_hwc_planes_video_tdm_layer_get(tdm_output *output);
}
static Eina_Bool
-_e_video_hwc_planes_frame_buffer_show(E_Video_Hwc_Planes *evhp, E_Comp_Wl_Video_Buf *vbuf)
+_e_video_hwc_planes_buffer_commit(E_Video_Hwc_Planes *evhp, E_Comp_Wl_Video_Buf *vbuf)
{
E_Client_Video_Info info, old_info;
tdm_error ret;
}
VIN("evas hide", evhp->base.ec);
- _e_video_hwc_planes_frame_buffer_show(evhp, NULL);
+ _e_video_hwc_planes_buffer_commit(evhp, NULL);
}
static Eina_Bool
}
EINTERN Eina_Bool
-e_video_hwc_planes_frame_buffer_show(E_Video_Hwc *evh, E_Comp_Wl_Video_Buf *vbuf)
+e_video_hwc_planes_buffer_commit(E_Video_Hwc *evh, E_Comp_Wl_Video_Buf *vbuf)
{
E_Video_Hwc_Planes *evhp;
evhp = (E_Video_Hwc_Planes *)evh;
- return _e_video_hwc_planes_frame_buffer_show(evhp, vbuf);
+ return _e_video_hwc_planes_buffer_commit(evhp, vbuf);
}
EINTERN Eina_Bool
}
EINTERN Eina_Bool
-e_video_hwc_windows_frame_buffer_show(E_Video_Hwc *evh, E_Comp_Wl_Video_Buf *vbuf)
+e_video_hwc_windows_buffer_commit(E_Video_Hwc *evh, E_Comp_Wl_Video_Buf *vbuf)
{
E_Video_Hwc_Windows *evhw;