summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-06-03 14:30:10 -0400
committerChris Michael <cp.michael@samsung.com>2015-06-05 10:00:44 -0400
commit47a2602af7554c8876ad078bc49d029a292aa715 (patch)
tree95f80cbae66e9a2885b282fb92e119e0bfe1e750 /src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h
parent354fd6f67b9d4069bfcf26c1899183f644e429a5 (diff)
evas-gl-drm: Readd support for pre_swap/post_swap callbacks
Summary: The pre/post swap callbacks were forgotten when doing the engine rewrite, so readd them @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h')
-rw-r--r--src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h b/src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h
index 6cb7923d70..17fe8cbabc 100644
--- a/src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h
+++ b/src/modules/evas/engines/gl_drm/Evas_Engine_GL_Drm.h
@@ -29,6 +29,13 @@ struct _Evas_Engine_Info_GL_Drm
29 unsigned char swap_mode : 4; 29 unsigned char swap_mode : 4;
30 } info; 30 } info;
31 31
32 struct
33 {
34 void (*pre_swap)(void *data, Evas *evas);
35 void (*post_swap)(void *data, Evas *evas);
36 void *data;
37 } callback;
38
32 /* non-blocking or blocking mode */ 39 /* non-blocking or blocking mode */
33 Evas_Engine_Render_Mode render_mode; 40 Evas_Engine_Render_Mode render_mode;
34}; 41};