From 691682c94ec0220be0d2f55f8ba1296e6d3cd0bd Mon Sep 17 00:00:00 2001 From: Junkyeong Kim Date: Wed, 18 Jul 2018 19:50:26 +0900 Subject: [PATCH] virtual:add omitted definitions fix build fail Change-Id: Ia217cf3dd11e7ea2b9320af0f5d14fd7b6b99c6e Signed-off-by: Junkyeong Kim --- include/tdm_backend.h | 7 +++++++ include/tdm_types.h | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/include/tdm_backend.h b/include/tdm_backend.h index 9a30004..2e80d99 100644 --- a/include/tdm_backend.h +++ b/include/tdm_backend.h @@ -1269,6 +1269,13 @@ tdm_error tdm_backend_register_func_capture(tdm_display *dpy, tdm_func_capture *func_capture); +/* virtual */ +tdm_error +tdm_backend_register_output(tdm_display *dpy, tdm_output *output); + +void +tdm_backend_unregister_output(tdm_display *dpy, tdm_output *output); + /** * @brief Increase the ref_count of a TDM buffer * @details diff --git a/include/tdm_types.h b/include/tdm_types.h index 32f544d..7c0f311 100644 --- a/include/tdm_types.h +++ b/include/tdm_types.h @@ -266,6 +266,10 @@ typedef void tdm_pp; */ typedef void tdm_vblank; +/* virtual */ +typedef void (*tdm_output_create_handler)(tdm_display *dpy, tdm_output *output, void *user_data); +typedef void (*tdm_output_destroy_handler)(tdm_output *output, void *user_data); + /** * @brief The output change handler * @details This handler will be called when the status of a output object is -- 2.7.4