summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_outputs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_outputs.c')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index 29e26c80bc..1f52953ffb 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1637,3 +1637,13 @@ ecore_drm2_output_info_get(Ecore_Drm2_Output *output, int *x, int *y, int *w, in
1637 if (x) *x = output->x; 1637 if (x) *x = output->x;
1638 if (y) *y = output->y; 1638 if (y) *y = output->y;
1639} 1639}
1640
1641EAPI Eina_Bool
1642ecore_drm2_output_pending_get(Ecore_Drm2_Output *output)
1643{
1644 EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
1645
1646 if (output->pending.fb) return EINA_TRUE;
1647
1648 return EINA_FALSE;
1649}