aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-01-29 15:25:26 +0000
committerChris Michael <cp.michael@samsung.com>2014-01-29 15:27:24 +0000
commitc2e190a8e25eb78ded8fe7abeadd4dac281efa54 (patch)
tree8c559a442fdb0871a8e0459410530161eba0dd3f
parentAdd buffer manager to evas engine build order (diff)
downloadefl-c2e190a8e25eb78ded8fe7abeadd4dac281efa54.tar.gz
Add function declarations for buffer manager functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/modules/evas/engines/drm/evas_engine.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/modules/evas/engines/drm/evas_engine.h b/src/modules/evas/engines/drm/evas_engine.h
index 573fbff290..fdfbb2bc02 100644
--- a/src/modules/evas/engines/drm/evas_engine.h
+++ b/src/modules/evas/engines/drm/evas_engine.h
@@ -16,14 +16,14 @@
# include "Evas.h"
# include "Evas_Engine_Drm.h"
-# include <xf86drm.h>
-# include <xf86drmMode.h>
-# include <drm_fourcc.h>
+/* # include <xf86drm.h> */
+/* # include <xf86drmMode.h> */
+/* # include <drm_fourcc.h> */
-# ifdef GL_GLES
-# include <EGL/egl.h>
-# define GL_GLEXT_PROTOTYPES
-# endif
+/* # ifdef GL_GLES */
+/* # include <EGL/egl.h> */
+/* # define GL_GLEXT_PROTOTYPES */
+/* # endif */
extern int _evas_engine_drm_log_dom;
@@ -81,8 +81,8 @@ struct _Outbuf
struct
{
- /* struct gbm_device *gbm; */
- /* unsigned int format; */
+ /* file descriptor for drm card */
+ int fd;
/* swapper */
void *swapper;
@@ -98,8 +98,6 @@ struct _Outbuf
Eina_List *prev_pending_writes;
Eina_Bool destination_alpha : 1;
-
- int fd;
} priv;
};
@@ -122,4 +120,9 @@ void evas_swapper_buffer_unmap(Wl_Swapper *ws);
int evas_swapper_buffer_state_get(Wl_Swapper *ws);
void evas_swapper_buffer_idle_flush(Wl_Swapper *ws);
+int evas_buffer_manager_init(void);
+int evas_buffer_manager_shutdown(void);
+Eina_Bool evas_buffer_manager_open(int fd);
+void evas_buffer_manager_close(void);
+
#endif