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 <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-06-12 11:47:47 -04:00
parent 8809979ce3
commit 9315424bac
1 changed files with 4 additions and 1 deletions

View File

@ -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);