diff options
author | Chris Michael <cp.michael@samsung.com> | 2017-03-27 11:52:44 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2017-04-18 07:55:10 -0400 |
commit | 9dbf54e2f644df4fbefe345caa0732b1a481c8b9 (patch) | |
tree | 3f9fb18f30a27a7a5cfcabe60de9103a0a3080dd /src/lib/ecore_drm2 | |
parent | 205c829a1180939dad516a56d3bf94127f0a97d0 (diff) |
ecore-drm2: Move defines for CAP_CURSOR sizes to private header
As we may need these defines in other files, move them to the private
header so there is access to them.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2')
-rw-r--r-- | src/lib/ecore_drm2/ecore_drm2_device.c | 8 | ||||
-rw-r--r-- | src/lib/ecore_drm2/ecore_drm2_private.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c index 250a5960b5..fcd639eb7e 100644 --- a/src/lib/ecore_drm2/ecore_drm2_device.c +++ b/src/lib/ecore_drm2/ecore_drm2_device.c | |||
@@ -1,13 +1,5 @@ | |||
1 | #include "ecore_drm2_private.h" | 1 | #include "ecore_drm2_private.h" |
2 | 2 | ||
3 | #ifndef DRM_CAP_CURSOR_WIDTH | ||
4 | # define DRM_CAP_CURSOR_WIDTH 0x8 | ||
5 | #endif | ||
6 | |||
7 | #ifndef DRM_CAP_CURSOR_HEIGHT | ||
8 | # define DRM_CAP_CURSOR_HEIGHT 0x9 | ||
9 | #endif | ||
10 | |||
11 | #ifndef DRM_CAP_DUMB_PREFER_SHADOW | 3 | #ifndef DRM_CAP_DUMB_PREFER_SHADOW |
12 | # define DRM_CAP_DUMB_PREFER_SHADOW 0x4 | 4 | # define DRM_CAP_DUMB_PREFER_SHADOW 0x4 |
13 | #endif | 5 | #endif |
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h index 80804ec1b1..0c5937dc51 100644 --- a/src/lib/ecore_drm2/ecore_drm2_private.h +++ b/src/lib/ecore_drm2/ecore_drm2_private.h | |||
@@ -661,6 +661,14 @@ struct _Ecore_Drm2_Atomic_State | |||
661 | }; | 661 | }; |
662 | # endif | 662 | # endif |
663 | 663 | ||
664 | # ifndef DRM_CAP_CURSOR_WIDTH | ||
665 | # define DRM_CAP_CURSOR_WIDTH 0x8 | ||
666 | # endif | ||
667 | |||
668 | # ifndef DRM_CAP_CURSOR_HEIGHT | ||
669 | # define DRM_CAP_CURSOR_HEIGHT 0x9 | ||
670 | # endif | ||
671 | |||
664 | typedef enum _Ecore_Drm2_Backlight_Type | 672 | typedef enum _Ecore_Drm2_Backlight_Type |
665 | { | 673 | { |
666 | ECORE_DRM2_BACKLIGHT_RAW, | 674 | ECORE_DRM2_BACKLIGHT_RAW, |