From 0f0c2f30ef61ad850f5822991c45d799b7795c2c Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Thu, 4 Jan 2018 18:00:22 +0900 Subject: [PATCH] e_output: expose the e_output_zoom_rotating_check() function Change-Id: I3b2fe8dfd7291d05ec75f91aec980339d651787b --- src/bin/e_output.c | 8 ++++---- src/bin/e_output.h | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/bin/e_output.c b/src/bin/e_output.c index a6bfa9d..40cb847 100644 --- a/src/bin/e_output.c +++ b/src/bin/e_output.c @@ -516,8 +516,8 @@ _e_output_zoom_rotate(E_Output *output) _e_output_render_update(output); } -static void -_e_output_zoom_rotating_check(E_Output *output) +EINTERN void +e_output_zoom_rotating_check(E_Output *output) { int angle = 0; @@ -1706,7 +1706,7 @@ _e_output_planes_commit(E_Output *output) output->zoom_conf.unset_skip = EINA_FALSE; if (output->dpms != E_OUTPUT_DPMS_OFF) { - _e_output_zoom_rotating_check(output); + e_output_zoom_rotating_check(output); if (!e_plane_pp_commit(fb_target)) ERR("fail to e_plane_pp_commit"); return EINA_TRUE; @@ -1768,7 +1768,7 @@ _e_output_planes_commit(E_Output *output) { if ((output->zoom_set) && e_plane_is_fb_target(plane)) { - _e_output_zoom_rotating_check(output); + e_output_zoom_rotating_check(output); if (!e_plane_pp_commit(plane)) ERR("fail to e_plane_pp_commit"); } diff --git a/src/bin/e_output.h b/src/bin/e_output.h index 4c3b363..f7dd950 100644 --- a/src/bin/e_output.h +++ b/src/bin/e_output.h @@ -199,6 +199,7 @@ E_API E_Output_Hook * e_output_hook_add(E_Output_Hook_Point hookpoint, E_Out E_API void e_output_hook_del(E_Output_Hook *ch); E_API E_Output_Intercept_Hook * e_output_intercept_hook_add(E_Output_Intercept_Hook_Point hookpoint, E_Output_Intercept_Hook_Cb func, const void *data); E_API void e_output_intercept_hook_del(E_Output_Intercept_Hook *ch); +EINTERN void e_output_zoom_rotating_check(E_Output *output); #endif #endif -- 2.7.4