devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=9315424bac4c7efcfd412fcbe68d2378598138b0
commit 9315424bac4c7efcfd412fcbe68d2378598138b0 Author: Chris Michael <[email protected]> Date: Fri Jun 12 11:47:47 2015 -0400 evas-gl-drm: Move gbm_surface field to Outbuf structure Summary: This moves the Engine_Info's gbm_surface field to the Outbuf structure Signed-off-by: Chris Michael <[email protected]> --- src/modules/evas/engines/gl_drm/evas_engine.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modules/evas/engines/gl_drm/evas_engine.h b/src/modules/evas/engines/gl_drm/evas_engine.h index 2892893..d4395e7 100644 --- a/src/modules/evas/engines/gl_drm/evas_engine.h +++ b/src/modules/evas/engines/gl_drm/evas_engine.h @@ -72,7 +72,7 @@ struct _Outbuf unsigned int rotation, depth; Render_Engine_Swap_Mode swap_mode; - struct gbm_device *gbm; + /* struct gbm_device *gbm; */ struct gbm_surface *surface; struct @@ -98,6 +98,9 @@ struct _Outbuf Eina_Bool drew : 1; }; +Eina_Bool eng_gbm_init(Evas_Engine_Info_GL_Drm *info); +Eina_Bool eng_gbm_shutdown(Evas_Engine_Info_GL_Drm *info); + Outbuf *evas_outbuf_new(Evas_Engine_Info_GL_Drm *info, int w, int h, Render_Engine_Swap_Mode swap_mode); void evas_outbuf_free(Outbuf *ob); void evas_outbuf_use(Outbuf *ob); --
