summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_private.h
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-06-15 12:55:03 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-06-23 08:15:40 -0500
commita3eed7865a4508c3fe52c3b022216008801b5506 (patch)
tree2ade78bde988399fd79800b6ea49f5eaec7d81a9 /src/lib/ecore_drm2/ecore_drm2_private.h
parentbd0774206f8b9780f6825dbf52c2381fe8ef1e6f (diff)
ecore_drm2: Add ecore_drm2_fb_status_handler_set
The old per output release handler is no longer complicated enough. In the near future we'll need to be able to tell an engine that its fb has been placed on scanout via hardware plane, or removed from a hardware plane. It's simpler to provide that information as well as release information through a single callback.
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_private.h')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 6270b2d7a4..c335095c77 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -162,6 +162,9 @@ struct _Ecore_Drm2_Fb
162 void *gbm_bo; 162 void *gbm_bo;
163 void *mmap; 163 void *mmap;
164 164
165 Ecore_Drm2_Fb_Status_Handler status_handler;
166 void *status_data;
167
165 Eina_Bool gbm : 1; 168 Eina_Bool gbm : 1;
166 Eina_Bool dmabuf : 1; 169 Eina_Bool dmabuf : 1;
167 Eina_Bool dead : 1; 170 Eina_Bool dead : 1;