aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-06-12 11:47:47 -0400
committerChris Michael <cp.michael@samsung.com>2015-06-12 11:50:24 -0400
commit9315424bac4c7efcfd412fcbe68d2378598138b0 (patch)
tree43f9d26396af184ae3a24047463a1a282979509e
parentevas-gl-drm: Add swap_mode enum (diff)
downloadefl-9315424bac4c7efcfd412fcbe68d2378598138b0.tar.gz
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>
-rw-r--r--src/modules/evas/engines/gl_drm/evas_engine.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.h b/src/modules/evas/engines/gl_drm/evas_engine.h
index 28928932e7..d4395e7bc2 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);