summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2_private.h
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-11-04 11:51:42 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-11-04 11:51:42 +0000
commitc15e9c6575c3b5f39ded167dda5259de3de96151 (patch)
tree5115d7ae3620af24c2bc094cd062575af7adeda9 /src/lib/evas/cserve2/evas_cs2_private.h
parenta5ac6a987caec5a7f7596a25d0a065b9cc94c50c (diff)
merge: and now Evas
I've tested make -j 3 install and it works nicely I've tested expedite with software and opengl xlib, and it works. Not tested other engines, so please report any problems (engines or other) on the ML. TODO: examples and tests, I'll add them later ISSUE: Eina_Unicode size check. It indirectly depends on eina_config.h, which is created at the end of the configure script. So its size is always 0. I don't know how that size is used, so I can't do a lot, for now. SVN revision: 78895
Diffstat (limited to 'src/lib/evas/cserve2/evas_cs2_private.h')
-rw-r--r--src/lib/evas/cserve2/evas_cs2_private.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2_private.h b/src/lib/evas/cserve2/evas_cs2_private.h
new file mode 100644
index 0000000000..4373bfdab3
--- /dev/null
+++ b/src/lib/evas/cserve2/evas_cs2_private.h
@@ -0,0 +1,42 @@
1#ifndef EVAS_CS2_PRIVATE_H
2#define EVAS_CS2_PRIVATE_H 1
3
4#include "evas_common.h"
5
6struct _Data_Entry {
7 unsigned int image_id;
8 void (*preloaded_cb)(void *, Eina_Bool);
9 struct {
10 const char *path;
11 int mmap_offset;
12 int use_offset;
13 int mmap_size;
14 int image_size;
15 Eina_File *f;
16 void *data;
17 } shm;
18};
19
20typedef struct _Data_Entry Data_Entry;
21typedef struct _Font_Entry Font_Entry;
22
23int evas_cserve2_init(void);
24int evas_cserve2_shutdown(void);
25EAPI int evas_cserve2_use_get(void);
26Eina_Bool evas_cserve2_image_load(Image_Entry *ie, const char *file, const char *key, RGBA_Image_Loadopts *lopt);
27int evas_cserve2_image_load_wait(Image_Entry *ie);
28Eina_Bool evas_cserve2_image_data_load(Image_Entry *ie);
29void evas_cserve2_image_load_data_wait(Image_Entry *ie);
30void evas_cserve2_image_free(Image_Entry *ie);
31void evas_cserve2_image_unload(Image_Entry *ie);
32Eina_Bool evas_cserve2_image_preload(Image_Entry *ie, void (*preloaded_cb)(void *im, Eina_Bool success));
33void evas_cserve2_dispatch(void);
34
35void *evas_cserve2_image_data_get(Image_Entry *ie);
36
37Font_Entry *evas_cserve2_font_load(const char *source, const char *name, int size, int dpi, Font_Rend_Flags wanted_rend);
38void evas_cserve2_font_free(Font_Entry *fe);
39Eina_Bool evas_cserve2_font_glyph_request(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints);
40Eina_Bool evas_cserve2_font_glyph_used(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints);
41RGBA_Font_Glyph_Out *evas_cserve2_font_glyph_bitmap_get(Font_Entry *fe, unsigned int idx, Font_Hint_Flags hints);
42#endif