aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-04 18:41:13 +1000
committerDavid Walter Seikel2012-01-04 18:41:13 +1000
commitdd7595a3475407a7fa96a97393bae8c5220e8762 (patch)
treee341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h
parentAdd the skeleton. (diff)
downloadSledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip
SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz
SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2
SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz
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.
Diffstat (limited to 'libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h')
-rw-r--r--libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h40
1 files changed, 40 insertions, 0 deletions
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 @@
1#ifndef _EVAS_ENGINE_BUFFER_H
2#define _EVAS_ENGINE_BUFFER_H
3
4#define EVAS_ENGINE_BUFFER_DEPTH_ARGB32 0
5#define EVAS_ENGINE_BUFFER_DEPTH_BGRA32 1
6#define EVAS_ENGINE_BUFFER_DEPTH_RGB24 2
7#define EVAS_ENGINE_BUFFER_DEPTH_BGR24 3
8#define EVAS_ENGINE_BUFFER_DEPTH_RGB32 4
9
10typedef struct _Evas_Engine_Info_Buffer Evas_Engine_Info_Buffer;
11
12struct _Evas_Engine_Info_Buffer
13{
14 /* PRIVATE - don't mess with this baby or evas will poke its tongue out */
15 /* at you and make nasty noises */
16 Evas_Engine_Info magic;
17
18 struct {
19 int depth_type;
20
21 void *dest_buffer;
22 int dest_buffer_row_bytes;
23
24 char use_color_key : 1;
25 int alpha_threshold;
26 int color_key_r;
27 int color_key_g;
28 int color_key_b;
29 struct {
30 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
31 void (*free_update_region) (int x, int y, int w, int h, void *data);
32 } func;
33 } info;
34
35 /* non-blocking or blocking mode */
36 Evas_Engine_Render_Mode render_mode;
37};
38#endif
39
40