summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_private.h
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-09-09 13:31:20 -0500
committerDerek Foreman <derekf@osg.samsung.com>2016-09-09 13:39:05 -0500
commit30d14779a6ea6c8c3b80c03fff71dc260a97c6f3 (patch)
treea40b3e4db10ebd36c1f9c19b01dc186b8e99d58a /src/lib/ecore_drm2/ecore_drm2_private.h
parent0722eae9601745949b46c1f9e4a46c018276f572 (diff)
ecore_drm2: Add release handlers for buffers
Allow the engine to register a callback for buffer release. This lets us do appropriate buffer bookkeeping (for example, gbm locking) in the engine.
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_private.h')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index d78d011f13..bce5edec89 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -154,6 +154,8 @@ struct _Ecore_Drm2_Output
154 Eina_List *planes; 154 Eina_List *planes;
155 155
156 void *user_data; 156 void *user_data;
157 Ecore_Drm2_Release_Handler release_cb;
158 void *release_data;
157 159
158 Eina_Bool connected : 1; 160 Eina_Bool connected : 1;
159 Eina_Bool primary : 1; 161 Eina_Bool primary : 1;