From 205c829a1180939dad516a56d3bf94127f0a97d0 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 27 Mar 2017 10:56:50 -0400 Subject: 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 --- src/lib/ecore_drm2/ecore_drm2_private.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/ecore_drm2/ecore_drm2_private.h') 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 uint32_t width, height; } min, max; + struct + { + int width, height; + } cursor; + Eeze_Udev_Watch *watch; Ecore_Event_Handler *active_hdlr; Ecore_Event_Handler *device_change_hdlr; -- cgit v1.2.1