Add initial swap buffer header file.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83244
This commit is contained in:
Christopher Michael 2013-01-24 09:16:39 +00:00 committed by Christopher Michael
parent 9b9fdf840b
commit 82e807115f
1 changed files with 16 additions and 0 deletions

View File

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