summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-06-09 08:46:56 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-09 12:29:25 -0400
commit05f770a1ab019ba7c5d3a14b8bf0a151b69eca1c (patch)
treee99f4489692abde96ece375a2ada6b226f31e981 /src/lib/ecore_drm2
parentcd311db99096ecf549b6f1ae0ae9a7a17734e765 (diff)
ecore-drm2: Group API functions within their doxy group
NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h76
1 files 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
@@ -793,6 +793,31 @@ EAPI int ecore_drm2_output_supported_rotations_get(Ecore_Drm2_Output *output);
793EAPI Eina_Bool ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation); 793EAPI Eina_Bool ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation);
794 794
795/** 795/**
796 * Set the user data for the output's page flip handler
797 *
798 * @param output The output to update user data for
799 * @param data The new user data pointer
800 *
801 * @ingroup Ecore_Drm2_Output_Group
802 * @since 1.19
803 */
804EAPI void ecore_drm2_output_user_data_set(Ecore_Drm2_Output *o, void *data);
805
806/**
807 * Register a callback for the buffer release handler
808 *
809 * When a flip completes ecore_drm2 may release a buffer. Use this callback
810 * if you need to do bookkeeping or locking on buffer release.
811 *
812 * @param output The output to register the callback on
813 * @param handler The function to handle the callback
814 * @param data The user data to pass to the callback
815 * @ingroup Ecore_Drm2_Output_Group
816 * @since 1.19
817 */
818EAPI void ecore_drm2_output_release_handler_set(Ecore_Drm2_Output *output, Ecore_Drm2_Release_Handler handler, void *data);
819
820/**
796 * @defgroup Ecore_Drm2_Fb_Group Drm framebuffer functions 821 * @defgroup Ecore_Drm2_Fb_Group Drm framebuffer functions
797 * 822 *
798 * Functions that deal with setup of framebuffers 823 * Functions that deal with setup of framebuffers
@@ -926,31 +951,6 @@ EAPI Eina_Bool ecore_drm2_fb_busy_get(Ecore_Drm2_Fb *fb);
926EAPI Eina_Bool ecore_drm2_fb_release(Ecore_Drm2_Output *o, Eina_Bool panic); 951EAPI Eina_Bool ecore_drm2_fb_release(Ecore_Drm2_Output *o, Eina_Bool panic);
927 952
928/** 953/**
929 * Set the user data for the output's page flip handler
930 *
931 * @param output The output to update user data for
932 * @param data The new user data pointer
933 *
934 * @ingroup Ecore_Drm2_Output_Group
935 * @since 1.19
936 */
937EAPI void ecore_drm2_output_user_data_set(Ecore_Drm2_Output *o, void *data);
938
939/**
940 * Register a callback for the buffer release handler
941 *
942 * When a flip completes ecore_drm2 may release a buffer. Use this callback
943 * if you need to do bookkeeping or locking on buffer release.
944 *
945 * @param output The output to register the callback on
946 * @param handler The function to handle the callback
947 * @param data The user data to pass to the callback
948 * @ingroup Ecore_Drm2_Output_Group
949 * @since 1.19
950 */
951EAPI void ecore_drm2_output_release_handler_set(Ecore_Drm2_Output *output, Ecore_Drm2_Release_Handler handler, void *data);
952
953/**
954 * Get the Framebuffer's gbm buffer object 954 * Get the Framebuffer's gbm buffer object
955 * 955 *
956 * @param fb The framebuffer to query 956 * @param fb The framebuffer to query
@@ -984,6 +984,19 @@ EAPI void *ecore_drm2_fb_bo_get(Ecore_Drm2_Fb *fb);
984EAPI 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); 984EAPI 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);
985 985
986/** 986/**
987 * Discard a framebuffer object
988 *
989 * Decreases the refcount on a fb object. It will be destroyed when it's
990 * no longer attached to scanout or otherwise in use.
991 *
992 * @param fb
993 *
994 * @ingroup Ecore_Drm2_Fb_Group
995 * @since 1.20
996 */
997EAPI void ecore_drm2_fb_discard(Ecore_Drm2_Fb *fb);
998
999/**
987 * @defgroup Ecore_Drm2_Plane_Group Functions that deal with hardware planes 1000 * @defgroup Ecore_Drm2_Plane_Group Functions that deal with hardware planes
988 * 1001 *
989 * Functions that deal with hardware plane manipulation 1002 * Functions that deal with hardware plane manipulation
@@ -1039,19 +1052,6 @@ EAPI void ecore_drm2_plane_destination_set(Ecore_Drm2_Plane *plane, int x, int y
1039 */ 1052 */
1040EAPI Eina_Bool ecore_drm2_plane_fb_set(Ecore_Drm2_Plane *plane, Ecore_Drm2_Fb *fb); 1053EAPI Eina_Bool ecore_drm2_plane_fb_set(Ecore_Drm2_Plane *plane, Ecore_Drm2_Fb *fb);
1041 1054
1042/**
1043 * Discard a framebuffer object
1044 *
1045 * Decreases the refcount on a fb object. It will be destroyed when it's
1046 * no longer attached to scanout or otherwise in use.
1047 *
1048 * @param fb
1049 *
1050 * @ingroup Ecore_Drm2_Fb_Group
1051 * @since 1.20
1052 */
1053EAPI void ecore_drm2_fb_discard(Ecore_Drm2_Fb *fb);
1054
1055# endif 1055# endif
1056 1056
1057#endif 1057#endif