diff options
author | Chris Michael <cp.michael@samsung.com> | 2018-02-06 09:07:26 -0500 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2018-02-13 11:44:11 -0500 |
commit | a78dc2d8164692e984ad162f603f8b0d052934e9 (patch) | |
tree | cbdadec4973cddd1944570de03323483835816de /src/lib/ecore_drm2/ecore_drm2_private.h | |
parent | 45bffff5357634dcb46db0bc582c9016770c2bab (diff) |
ecore-drm2: Add API functions to get/set output relative mode
These API functions will be used inside Enlightenment in order to
determine the proper extended screen size based on outputs relative
position.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_drm2/ecore_drm2_private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h index 3c1040d57b..c2a59e4eee 100644 --- a/src/lib/ecore_drm2/ecore_drm2_private.h +++ b/src/lib/ecore_drm2/ecore_drm2_private.h | |||
@@ -232,6 +232,11 @@ struct _Ecore_Drm2_Output | |||
232 | Ecore_Drm2_Backlight_Type type; | 232 | Ecore_Drm2_Backlight_Type type; |
233 | } backlight; | 233 | } backlight; |
234 | 234 | ||
235 | struct | ||
236 | { | ||
237 | Ecore_Drm2_Relative_Mode mode; | ||
238 | } relative; | ||
239 | |||
235 | drmModeCrtcPtr ocrtc; | 240 | drmModeCrtcPtr ocrtc; |
236 | 241 | ||
237 | /* prep is for state we're preparing and have never | 242 | /* prep is for state we're preparing and have never |