From dd7595a3475407a7fa96a97393bae8c5220e8762 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 4 Jan 2012 18:41:13 +1000 Subject: Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje. Note that embryo wont be used, but I'm not sure yet if you can build edje without it. --- .../modules/engines/buffer/Evas_Engine_Buffer.h | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h (limited to 'libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h') diff --git a/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h b/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h new file mode 100644 index 0000000..e6d11d1 --- /dev/null +++ b/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h @@ -0,0 +1,40 @@ +#ifndef _EVAS_ENGINE_BUFFER_H +#define _EVAS_ENGINE_BUFFER_H + +#define EVAS_ENGINE_BUFFER_DEPTH_ARGB32 0 +#define EVAS_ENGINE_BUFFER_DEPTH_BGRA32 1 +#define EVAS_ENGINE_BUFFER_DEPTH_RGB24 2 +#define EVAS_ENGINE_BUFFER_DEPTH_BGR24 3 +#define EVAS_ENGINE_BUFFER_DEPTH_RGB32 4 + +typedef struct _Evas_Engine_Info_Buffer Evas_Engine_Info_Buffer; + +struct _Evas_Engine_Info_Buffer +{ + /* PRIVATE - don't mess with this baby or evas will poke its tongue out */ + /* at you and make nasty noises */ + Evas_Engine_Info magic; + + struct { + int depth_type; + + void *dest_buffer; + int dest_buffer_row_bytes; + + char use_color_key : 1; + int alpha_threshold; + int color_key_r; + int color_key_g; + int color_key_b; + struct { + void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes); + void (*free_update_region) (int x, int y, int w, int h, void *data); + } func; + } info; + + /* non-blocking or blocking mode */ + Evas_Engine_Render_Mode render_mode; +}; +#endif + + -- cgit v1.1