X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Ftdm_helper.h;h=99fd638d712a40c9d389c62d72937e46cf7beee1;hb=9e7971e27e1a50142add6f46e71689f784989c58;hp=d5d8d6ef2acc772edb130fcc516d190f075f1e4c;hpb=17fa403ebeb3de0c042b684f45151e78a92483ce;p=platform%2Fcore%2Fuifw%2Flibtdm.git diff --git a/include/tdm_helper.h b/include/tdm_helper.h index d5d8d6e..99fd638 100644 --- a/include/tdm_helper.h +++ b/include/tdm_helper.h @@ -229,22 +229,20 @@ void tdm_helper_get_display_information(tdm_display *dpy, char *reply, int *len); /** - * @brief Get whether the commit-per-vblank functionality is enabled or not. - * @param[in] dpy A display object - * @return 1 if enabled. Otherwise, 0. - * - * @deprecated use @c tdm_helper_output_commit_per_vblank_enabled instead + * @brief Get whether the commit-per-vblank functionality is enabled or not for the output. + * @param[in] output An output the functionality has to be checked for + * @return -1 if error occurred, 1 if enabled, 0 if disabled. */ int -tdm_helper_commit_per_vblank_enabled(tdm_display *dpy); +tdm_helper_output_commit_per_vblank_enabled(tdm_output *output); /** - * @brief Get whether the commit-per-vblank functionality is enabled or not for the output. + * @brief Get whether the vblank timer is expired or not for the output. * @param[in] output An output the functionality has to be checked for * @return -1 if error occurred, 1 if enabled, 0 if disabled. */ -int -tdm_helper_output_commit_per_vblank_enabled(tdm_output *output); +unsigned int +tdm_helper_output_vblank_timer_expired(tdm_output *output); #ifdef __cplusplus }