path: root/src/modules/evas/engines/drm/evas_engine.h
diff options
authorDerek Foreman <>2016-09-07 21:31:08 -0500
committerDerek Foreman <>2016-09-08 13:55:24 -0500
commit95a00b8e496839c4976259692fb7c308f7a850dc (patch)
treeb0c2b5291630785b396f51c8abaaaff776fdb6eb /src/modules/evas/engines/drm/evas_engine.h
parent79409757c6493738c21015708a1ba5178942ad94 (diff)
ee_drm: Get page flips out of the render thread
Now that we have redraws_clear exposed through software generic, we can use that to do the final buffer swap from the main thread instead of doing it in outbuf_flush which runs from the render thread. This becomes more important later when other call sites in the main thread will perform buffer flips.
Diffstat (limited to 'src/modules/evas/engines/drm/evas_engine.h')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/evas/engines/drm/evas_engine.h b/src/modules/evas/engines/drm/evas_engine.h
index 94ddcf42ca..3a5c3c23a7 100644
--- a/src/modules/evas/engines/drm/evas_engine.h
+++ b/src/modules/evas/engines/drm/evas_engine.h
@@ -61,6 +61,8 @@ struct _Outbuf
61 Outbuf_Fb ofb[4], *draw, *display; 61 Outbuf_Fb ofb[4], *draw, *display;
62 Ecore_Drm2_Output *output; 62 Ecore_Drm2_Output *output;
63 Eina_List *pending; 63 Eina_List *pending;
64 Eina_Rectangle *rects;
65 unsigned int rect_count;
64 } priv; 66 } priv;
65 67
66 Eina_Bool alpha : 1; 68 Eina_Bool alpha : 1;
@@ -76,5 +78,6 @@ void *_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx,
76void _outbuf_update_region_push(Outbuf *ob, RGBA_Image *update, int x, int y, int w, int h); 78void _outbuf_update_region_push(Outbuf *ob, RGBA_Image *update, int x, int y, int w, int h);
77void _outbuf_update_region_free(Outbuf *ob, RGBA_Image *update); 79void _outbuf_update_region_free(Outbuf *ob, RGBA_Image *update);
78void _outbuf_flush(Outbuf *ob, Tilebuf_Rect *rects, Evas_Render_Mode render_mode); 80void _outbuf_flush(Outbuf *ob, Tilebuf_Rect *rects, Evas_Render_Mode render_mode);
81void _outbuf_redraws_clear(Outbuf *ob);
79 82
80#endif 83#endif