correct email address
[platform/core/uifw/libtdm.git] / include / tdm_helper.h
index d5d8d6e..62f3cb3 100644 (file)
@@ -9,7 +9,7 @@
  *          Taeheon Kim <th908.kim@samsung.com>,
  *          YoungJun Cho <yj44.cho@samsung.com>,
  *          SooChan Lim <sc1.lim@samsung.com>,
- *          Boram Park <sc1.lim@samsung.com>
+ *          Boram Park <boram1288.park@samsung.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
@@ -66,8 +66,6 @@ tdm_helper_get_time(void);
  * - TBM_FORMAT_YUV420
  * - TBM_FORMAT_NV12
  * - TBM_FORMAT_NV21
- * - TBM_FORMAT_YUYV
- * - TBM_FORMAT_UYVY
  * The filename extension should be "png" for TBM_FORMAT_ARGB8888 and TBM_FORMAT_XRGB8888
  * or "yuv" for YUV formats.
  * @param[in] buffer A TDM buffer
@@ -118,8 +116,6 @@ tdm_helper_clear_buffer_color(tbm_surface_h buffer, tdm_pos *pos, unsigned int c
  * - TBM_FORMAT_YUV420
  * - TBM_FORMAT_NV12
  * - TBM_FORMAT_NV21
- * - TBM_FORMAT_YUYV
- * - TBM_FORMAT_UYVY
  * @param[in] buffer A TDM buffer
  */
 void
@@ -229,22 +225,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
 }