efl/legacy/evas/src/modules/engines/software_x11/evas_xlib_outbuf.h

93 lines
4.3 KiB
C

#ifndef EVAS_XLIB_OUTBUF_H
#define EVAS_XLIB_OUTBUF_H
#include "evas_engine.h"
void evas_software_xlib_outbuf_init (void);
void evas_software_xlib_outbuf_free (Outbuf *buf);
Outbuf *evas_software_xlib_outbuf_setup_x (int w,
int h,
int rot,
Outbuf_Depth depth,
Display *disp,
Drawable draw,
Visual *vis,
Colormap cmap,
int x_depth,
int grayscale,
int max_colors,
Pixmap mask,
int shape_dither,
int destination_alpha);
RGBA_Image *evas_software_xlib_outbuf_new_region_for_update (Outbuf *buf,
int x,
int y,
int w,
int h,
int *cx,
int *cy,
int *cw,
int *ch);
void evas_software_xlib_outbuf_free_region_for_update (Outbuf *buf,
RGBA_Image *update);
void evas_software_xlib_outbuf_flush (Outbuf *buf);
void evas_software_xlib_outbuf_idle_flush (Outbuf *buf);
void evas_software_xlib_outbuf_push_updated_region (Outbuf *buf,
RGBA_Image *update,
int x,
int y,
int w,
int h);
void evas_software_xlib_outbuf_reconfigure (Outbuf *buf,
int w,
int h,
int rot,
Outbuf_Depth depth);
int evas_software_xlib_outbuf_get_width (Outbuf *buf);
int evas_software_xlib_outbuf_get_height (Outbuf *buf);
Outbuf_Depth evas_software_xlib_outbuf_get_depth (Outbuf *buf);
int evas_software_xlib_outbuf_get_rot (Outbuf *buf);
void evas_software_xlib_outbuf_drawable_set (Outbuf *buf,
Drawable draw);
void evas_software_xlib_outbuf_mask_set (Outbuf *buf,
Pixmap mask);
void evas_software_xlib_outbuf_rotation_set (Outbuf *buf,
int rot);
void evas_software_xlib_outbuf_debug_set (Outbuf *buf,
int debug);
void evas_software_xlib_outbuf_debug_show (Outbuf *buf,
Drawable draw,
int x,
int y,
int w,
int h);
Eina_Bool evas_software_xlib_outbuf_alpha_get (Outbuf *buf);
#ifdef EVAS_FRAME_QUEUING
void evas_software_xlib_outbuf_set_priv (Outbuf *buf,
void *cur,
void *prev);
#endif
#endif