summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_outputs.c
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-03-22 12:41:16 -0400
committerChristopher Michael <cp.michael@samsung.com>2019-03-22 12:41:17 -0400
commit9c08fe29d49dc53a679cdfd2dcb252928e169f99 (patch)
tree1b95847dbad714e90394c8037adcb8250445e9ba /src/lib/ecore_drm2/ecore_drm2_outputs.c
parent3315c0dd1cf5aea3aa08a0f2e6b67f3ebabd346a (diff)
ecore-drm2: Set output rotation value
Summary: When we call ecore_drm2_output_rotation_set we need to store that value in the Output structure so that it can be checked later when needed. ref T7690 Depends on D8112 Reviewers: raster, cedric, zmike Reviewed By: cedric Subscribers: cedric Tags: #efl, #do_not_merge Maniphest Tasks: T7690 Differential Revision: https://phab.enlightenment.org/D8113
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index f45b5657f5..7642025ef4 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1518,10 +1518,12 @@ ecore_drm2_output_supported_rotations_get(Ecore_Drm2_Output *output)
1518EAPI Eina_Bool 1518EAPI Eina_Bool
1519ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation) 1519ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation)
1520{ 1520{
1521 Eina_Bool ret = EINA_FALSE; 1521 Eina_Bool ret = EINA_TRUE;
1522 1522
1523 EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE); 1523 EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
1524 1524
1525 output->rotation = rotation;
1526
1525#if 0 1527#if 0
1526 /* XXX: Disable hardware plane rotation for now as this has broken 1528 /* XXX: Disable hardware plane rotation for now as this has broken
1527 * recently. The break happens because of an invalid argument, 1529 * recently. The break happens because of an invalid argument,