summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/Ecore_Drm2.h
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-03 18:26:18 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-09 14:56:59 -0500
commit1b853dcfadfdea9e10bf4bca0ea7a24d990af68f (patch)
treeb5f075b9d47705638382dcade95422bfbab50f21 /src/lib/ecore_drm2/Ecore_Drm2.h
parent70c1ce3be376ed29a25247b2d8c13e4d73edae64 (diff)
ecore_drm2: Add ecore_drm2_output_info_get
We've got too many ways to query output information, so let's add more. (this will soon replace all of them)
Diffstat (limited to 'src/lib/ecore_drm2/Ecore_Drm2.h')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index 0468cbca5e..ef35304c35 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -718,6 +718,21 @@ EAPI unsigned int ecore_drm2_output_connector_type_get(Ecore_Drm2_Output *output
718EAPI void ecore_drm2_output_resolution_get(Ecore_Drm2_Output *output, int *w, int *h, unsigned int *refresh); 718EAPI void ecore_drm2_output_resolution_get(Ecore_Drm2_Output *output, int *w, int *h, unsigned int *refresh);
719 719
720/** 720/**
721 * Get the geometry and refresh rate for a given output
722 *
723 * @param output
724 * @param *x
725 * @param *y
726 * @param *w
727 * @param *h
728 * @param *refresh
729 *
730 * @ingroup Ecore_Drm2_Output_Group
731 * @since 1.21
732 */
733EAPI void ecore_drm2_output_info_get(Ecore_Drm2_Output *output, int *x, int *y, int *w, int *h, unsigned int *refresh);
734
735/**
721 * Get if an output can be used on a given crtc 736 * Get if an output can be used on a given crtc
722 * 737 *
723 * This function will loop the possible crtcs of an encoder to determine if 738 * This function will loop the possible crtcs of an encoder to determine if