summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/Ecore_Drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm/Ecore_Drm.h')
-rw-r--r--src/lib/ecore_drm/Ecore_Drm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index 8b07cb5af2..cb6c6b2d48 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -117,6 +117,10 @@ struct _Ecore_Drm_Device
117 int current_fb; 117 int current_fb;
118 Ecore_Drm_Fb *current, *next; 118 Ecore_Drm_Fb *current, *next;
119 Ecore_Drm_Fb *dumb[2]; 119 Ecore_Drm_Fb *dumb[2];
120
121 drmEventContext drm_ctx;
122
123 Eina_Bool active : 1;
120}; 124};
121 125
122struct _Ecore_Drm_Event_Activate 126struct _Ecore_Drm_Event_Activate
@@ -205,6 +209,8 @@ EAPI int ecore_drm_device_fd_get(Ecore_Drm_Device *dev);
205EAPI void ecore_drm_device_window_set(Ecore_Drm_Device *dev, unsigned int window); 209EAPI void ecore_drm_device_window_set(Ecore_Drm_Device *dev, unsigned int window);
206EAPI const char *ecore_drm_device_name_get(Ecore_Drm_Device *dev); 210EAPI const char *ecore_drm_device_name_get(Ecore_Drm_Device *dev);
207 211
212EAPI void ecore_drm_device_fb_set(Ecore_Drm_Device *dev, Ecore_Drm_Fb *fb);
213
208/** 214/**
209 * Setup an Ecore_Drm_Device for software rendering 215 * Setup an Ecore_Drm_Device for software rendering
210 * 216 *