Add Outbuf structure and some function prototypes
authorChris Michael <cp.michael@samsung.com>
Tue, 30 Apr 2013 06:08:25 +0000 (07:08 +0100)
committerChris Michael <cp.michael@samsung.com>
Tue, 30 Apr 2013 06:10:05 +0000 (07:10 +0100)
NB: These are not finalized yet and may change.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/evas/engines/drm/evas_engine.h

index 2691258..41e5ac1 100644 (file)
@@ -28,4 +28,16 @@ extern int _evas_engine_drm_log_dom;
 # endif
 # define CRIT(...) EINA_LOG_DOM_CRIT(_evas_engine_drm_log_dom, __VA_ARGS__)
 
+typedef struct _Outbuf Outbuf;
+
+struct _Outbuf
+{
+   unsigned int depth;
+   int w, h, rotation;
+   Eina_Bool destination_alpha : 1;
+};
+
+Outbuf *evas_outbuf_setup(int w, int h, unsigned int rotation, unsigned int depth, Eina_Bool alpha);
+void evas_outbuf_free(Outbuf *ob);
+
 #endif