aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas/engines/wayland_shm/evas_swapbuf.h
blob: 874b820b5f769b2c34e7e9331f46c9f86986a63f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _EVAS_SWAPBUF_H
# define _EVAS_SWAPBUF_H

# include "evas_engine.h"

Outbuf *evas_swapbuf_setup(int x, int y, 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 x, int y, 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