X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Ftdm_helper.h;h=8bae8fa819d313fee19ac52dcf9ce2b1ef27b703;hb=c61e3aaef986c13175c299570e8bc3ef09a4d50a;hp=3d1d2524373866818c747e0d847f7607cfd294bc;hpb=4132be9593526d9358888f77186c9e00b3d81891;p=platform%2Fcore%2Fuifw%2Flibtdm.git diff --git a/include/tdm_helper.h b/include/tdm_helper.h index 3d1d252..8bae8fa 100644 --- a/include/tdm_helper.h +++ b/include/tdm_helper.h @@ -221,10 +221,20 @@ 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 */ int tdm_helper_commit_per_vblank_enabled(tdm_display *dpy); +/** + * @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_output_commit_per_vblank_enabled(tdm_output *output); + #ifdef __cplusplus } #endif