summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_outputs.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index 7642025ef4..c7540236f5 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1576,6 +1576,13 @@ err:
1576 return ret; 1576 return ret;
1577} 1577}
1578 1578
1579EAPI int
1580ecore_drm2_output_rotation_get(Ecore_Drm2_Output *output)
1581{
1582 EINA_SAFETY_ON_NULL_RETURN_VAL(output, -1);
1583 return output->rotation;
1584}
1585
1579EAPI unsigned int 1586EAPI unsigned int
1580ecore_drm2_output_subpixel_get(const Ecore_Drm2_Output *output) 1587ecore_drm2_output_subpixel_get(const Ecore_Drm2_Output *output)
1581{ 1588{