summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_private.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-03-27 10:56:50 -0400
committerChris Michael <cp.michael@samsung.com>2017-04-18 07:55:10 -0400
commit205c829a1180939dad516a56d3bf94127f0a97d0 (patch)
tree4ef488939ae916c950067f4d2ce97a4c0bc2b340 /src/lib/ecore_drm2/ecore_drm2_private.h
parent980ed70eb9af0e829a58e605351121685ac3e66a (diff)
ecore-drm2: Store cursor size on device
As we will need these values later to determine if an FBO can go onto the cursor plane, we should store this in the device structure to avoid having to refetch them later. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_private.h')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h5
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 60efbf7394..80804ec1b1 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -795,6 +795,11 @@ struct _Ecore_Drm2_Device
795 uint32_t width, height; 795 uint32_t width, height;
796 } min, max; 796 } min, max;
797 797
798 struct
799 {
800 int width, height;
801 } cursor;
802
798 Eeze_Udev_Watch *watch; 803 Eeze_Udev_Watch *watch;
799 Ecore_Event_Handler *active_hdlr; 804 Ecore_Event_Handler *active_hdlr;
800 Ecore_Event_Handler *device_change_hdlr; 805 Ecore_Event_Handler *device_change_hdlr;