summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_outputs.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-06-16 15:03:09 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-06-16 12:23:08 -0400
commita3d0af0069dfdd66fd97d8bea90e6150625430e6 (patch)
tree28b7b639c71d12065eccf1499b7ec6054fcb9784 /src/lib/ecore_drm2/ecore_drm2_outputs.c
parentad0aae8f8d8bb1b13ea68ba2103b9e8f4608a2f0 (diff)
ecore-drm2: add ecore_drm2_output_subpixel_get()
@feature
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_outputs.c')
-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 89a6767133..afddc1fb6c 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1584,3 +1584,10 @@ err:
1584 1584
1585 return ret; 1585 return ret;
1586} 1586}
1587
1588EAPI unsigned int
1589ecore_drm2_output_subpixel_get(const Ecore_Drm2_Output *output)
1590{
1591 EINA_SAFETY_ON_NULL_RETURN_VAL(output, 0);
1592 return output->subpixel;
1593}