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;
typedef void tdm_pp;
/**
+ * @brief The tdm vblank object
+ */
+typedef void tdm_vblank;
+
+/**
* @brief The vblank handler
* @see output_set_vblank_handler() function of #tdm_func_display
*/
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
+ */
+typedef void (*tdm_pp_done_handler)(tdm_pp *pp, tbm_surface_h src,
+ tbm_surface_h dst, void *user_data);
+
+/**
+ * @brief The done handler of a capture object
+ */
+typedef void (*tdm_capture_done_handler)(tdm_capture *capture,
+ tbm_surface_h buffer, void *user_data);
+
#ifdef __cplusplus
}
#endif