Add initial swap buffer header file.
authorChristopher Michael <cp.michael@samsung.com>
Thu, 24 Jan 2013 09:16:39 +0000 (09:16 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Thu, 24 Jan 2013 09:16:39 +0000 (09:16 +0000)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83244

src/modules/evas/engines/wayland_shm/evas_swapbuf.h [new file with mode: 0644]

diff --git a/src/modules/evas/engines/wayland_shm/evas_swapbuf.h b/src/modules/evas/engines/wayland_shm/evas_swapbuf.h
new file mode 100644 (file)
index 0000000..7f74a78
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef _EVAS_SWAPBUF_H
+# define _EVAS_SWAPBUF_H
+
+# include "evas_engine.h"
+
+Outbuf *evas_swapbuf_setup(int w, int h, unsigned int rotation, Outbuf_Depth depth, Eina_Bool alpha, struct wl_shm *wl_shm, struct wl_surface *wl_surface);
+void evas_swapbuf_free(Outbuf *ob);
+void evas_swapbuf_reconfigure(Outbuf *ob, int w, int h, unsigned int rotation, Outbuf_Depth depth, Eina_Bool alpha);
+RGBA_Image *evas_swapbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch);
+void evas_swapbuf_update_region_push(Outbuf *ob, RGBA_Image *update, int x, int y, int w, int h);
+void evas_swapbuf_update_region_free(Outbuf *ob, RGBA_Image *update);
+void evas_swapbuf_flush(Outbuf *ob);
+void evas_swapbuf_idle_flush(Outbuf *ob EINA_UNUSED);
+int evas_swapbuf_state_get(Outbuf *ob);
+
+#endif