Add initial header file for swapper.

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

SVN revision: 83247
This commit is contained in:
Christopher Michael 2013-01-24 09:16:49 +00:00 committed by Christopher Michael
parent 1d3cfce8a7
commit 7e13dc5459
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
#ifndef _EVAS_SWAPPER_H
# define _EVAS_SWAPPER_H
#include "evas_engine.h"
typedef struct _Wl_Swapper Wl_Swapper;
Wl_Swapper *evas_swapper_setup(int w, int h, Outbuf_Depth depth, Eina_Bool alpha, struct wl_shm *shm, struct wl_surface *surface);
void evas_swapper_swap(Wl_Swapper *ws, Eina_Rectangle *rects, unsigned int count);
void evas_swapper_free(Wl_Swapper *ws);
void *evas_swapper_buffer_map(Wl_Swapper *ws);
void evas_swapper_buffer_unmap(Wl_Swapper *ws);
int evas_swapper_buffer_state_get(Wl_Swapper *ws);
#endif