package version up to 1.6.17
[platform/core/uifw/libtdm.git] / include / tdm_types.h
index fd446cd..3b62ff5 100644 (file)
@@ -122,7 +122,7 @@ typedef struct _tdm_info_pp {
 typedef struct _tdm_info_capture {
        tdm_info_config dst_config;
        tdm_transform transform;
-       int oneshot;
+       tdm_capture_type type;
        int frequency;
        int flags;
 } tdm_info_capture;
@@ -166,12 +166,20 @@ typedef void (*tdm_output_vblank_handler)(tdm_output *output, unsigned int seque
                                                                                  void *user_data);
 
 /**
- * @brief The commit handler
+ * @brief The output commit handler
  * @see output_set_commit_handler() function of #tdm_func_display
  */
 typedef void (*tdm_output_commit_handler)(tdm_output *output, unsigned int sequence,
                                                                                  unsigned int tv_sec, unsigned int tv_usec,
                                                                                  void *user_data);
+
+/**
+ * @brief The layer commit handler
+ */
+typedef void (*tdm_layer_commit_handler)(tdm_layer *layer, unsigned int sequence,
+                                                                                unsigned int tv_sec, unsigned int tv_usec,
+                                                                                void *user_data);
+
 /**
  * @brief The done handler of a pp object
  */