From 05f770a1ab019ba7c5d3a14b8bf0a151b69eca1c Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Fri, 9 Jun 2017 08:46:56 -0400 Subject: [PATCH] ecore-drm2: Group API functions within their doxy group NB: No functional changes Signed-off-by: Chris Michael --- src/lib/ecore_drm2/Ecore_Drm2.h | 76 ++++++++++++++++----------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h index fc5c8b4f7e..8dfe4aa815 100644 --- a/src/lib/ecore_drm2/Ecore_Drm2.h +++ b/src/lib/ecore_drm2/Ecore_Drm2.h @@ -792,6 +792,31 @@ EAPI int ecore_drm2_output_supported_rotations_get(Ecore_Drm2_Output *output); */ EAPI Eina_Bool ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation); +/** + * Set the user data for the output's page flip handler + * + * @param output The output to update user data for + * @param data The new user data pointer + * + * @ingroup Ecore_Drm2_Output_Group + * @since 1.19 + */ +EAPI void ecore_drm2_output_user_data_set(Ecore_Drm2_Output *o, void *data); + +/** + * Register a callback for the buffer release handler + * + * When a flip completes ecore_drm2 may release a buffer. Use this callback + * if you need to do bookkeeping or locking on buffer release. + * + * @param output The output to register the callback on + * @param handler The function to handle the callback + * @param data The user data to pass to the callback + * @ingroup Ecore_Drm2_Output_Group + * @since 1.19 + */ +EAPI void ecore_drm2_output_release_handler_set(Ecore_Drm2_Output *output, Ecore_Drm2_Release_Handler handler, void *data); + /** * @defgroup Ecore_Drm2_Fb_Group Drm framebuffer functions * @@ -925,31 +950,6 @@ EAPI Eina_Bool ecore_drm2_fb_busy_get(Ecore_Drm2_Fb *fb); */ EAPI Eina_Bool ecore_drm2_fb_release(Ecore_Drm2_Output *o, Eina_Bool panic); -/** - * Set the user data for the output's page flip handler - * - * @param output The output to update user data for - * @param data The new user data pointer - * - * @ingroup Ecore_Drm2_Output_Group - * @since 1.19 - */ -EAPI void ecore_drm2_output_user_data_set(Ecore_Drm2_Output *o, void *data); - -/** - * Register a callback for the buffer release handler - * - * When a flip completes ecore_drm2 may release a buffer. Use this callback - * if you need to do bookkeeping or locking on buffer release. - * - * @param output The output to register the callback on - * @param handler The function to handle the callback - * @param data The user data to pass to the callback - * @ingroup Ecore_Drm2_Output_Group - * @since 1.19 - */ -EAPI void ecore_drm2_output_release_handler_set(Ecore_Drm2_Output *output, Ecore_Drm2_Release_Handler handler, void *data); - /** * Get the Framebuffer's gbm buffer object * @@ -983,6 +983,19 @@ EAPI void *ecore_drm2_fb_bo_get(Ecore_Drm2_Fb *fb); */ EAPI Ecore_Drm2_Fb *ecore_drm2_fb_dmabuf_import(int fd, int width, int height, int depth, int bpp, unsigned int format, unsigned int strides[4], int dmabuf_fd[4], int dmabuf_fd_count); +/** + * Discard a framebuffer object + * + * Decreases the refcount on a fb object. It will be destroyed when it's + * no longer attached to scanout or otherwise in use. + * + * @param fb + * + * @ingroup Ecore_Drm2_Fb_Group + * @since 1.20 + */ +EAPI void ecore_drm2_fb_discard(Ecore_Drm2_Fb *fb); + /** * @defgroup Ecore_Drm2_Plane_Group Functions that deal with hardware planes * @@ -1039,19 +1052,6 @@ EAPI void ecore_drm2_plane_destination_set(Ecore_Drm2_Plane *plane, int x, int y */ EAPI Eina_Bool ecore_drm2_plane_fb_set(Ecore_Drm2_Plane *plane, Ecore_Drm2_Fb *fb); -/** - * Discard a framebuffer object - * - * Decreases the refcount on a fb object. It will be destroyed when it's - * no longer attached to scanout or otherwise in use. - * - * @param fb - * - * @ingroup Ecore_Drm2_Fb_Group - * @since 1.20 - */ -EAPI void ecore_drm2_fb_discard(Ecore_Drm2_Fb *fb); - # endif #endif