Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/common
Modified Files:
evas_blend_main.c evas_blit_main.c evas_convert_main.c
evas_cpu.c evas_draw_main.c evas_font_draw.c evas_font_load.c
evas_font_main.c evas_font_query.c evas_gradient_main.c
evas_image_load.c evas_image_main.c evas_line_main.c
evas_polygon_main.c evas_rectangle_main.c evas_scale_main.c
evas_scale_sample.c evas_scale_smooth.c evas_tiler.c
Log Message:
Functions used by modules must be EAPI
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_blend_main.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- evas_blend_main.c 2 May 2006 07:28:47 -0000 1.9
+++ evas_blend_main.c 6 Sep 2006 07:33:39 -0000 1.10
@@ -366,7 +366,7 @@
return comp;
}
-void
+EAPI void
evas_common_blend_init(void)
{
static int gfx_initialised = 0;
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_blit_main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- evas_blit_main.c 2 May 2006 07:28:47 -0000 1.4
+++ evas_blit_main.c 6 Sep 2006 07:33:39 -0000 1.5
@@ -16,12 +16,12 @@
static void evas_common_copy_pixels_rev_sse/*NB*/ (DATA32 *src, DATA32 *dst, int len);
-void
+EAPI void
evas_common_blit_init(void)
{
}
-void
+EAPI void
evas_common_blit_rectangle(RGBA_Image *src, RGBA_Image *dst, int src_x, int src_y, int w, int h, int dst_x, int dst_y)
{
int y;
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_convert_main.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_convert_main.c 22 May 2005 02:49:48 -0000 1.5
+++ evas_convert_main.c 6 Sep 2006 07:33:39 -0000 1.6
@@ -144,12 +144,12 @@
};
#endif
-void
+EAPI void
evas_common_convert_init(void)
{
}
-Gfx_Func_Convert
+EAPI Gfx_Func_Convert
evas_common_convert_func_get(DATA8 *dest, int w, int h, int depth, DATA32 rmask, DATA32 gmask, DATA32 bmask, Convert_Pal_Mode pal_mode, int rotation)
{
if ((rmask == 0) && (gmask == 0) && (bmask == 0))
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_cpu.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- evas_cpu.c 31 Jan 2006 01:13:51 -0000 1.27
+++ evas_cpu.c 6 Sep 2006 07:33:39 -0000 1.28
@@ -112,7 +112,7 @@
#endif
}
-void
+EAPI void
evas_common_cpu_init(void)
{
static int called = 0;
@@ -166,7 +166,7 @@
#endif
}
-void
+EAPI void
evas_common_cpu_can_do(int *mmx, int *sse, int *sse2)
{
static int do_mmx = 0, do_sse = 0, do_sse2 = 0, done = 0;
@@ -192,7 +192,7 @@
}
#ifdef BUILD_MMX
-void
+EAPI void
evas_common_cpu_end_opt(void)
{
if (cpu_feature_mask &
@@ -202,7 +202,7 @@
}
}
#else
-void
+EAPI void
evas_common_cpu_end_opt(void)
{
}
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_draw_main.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- evas_draw_main.c 2 May 2006 07:28:47 -0000 1.16
+++ evas_draw_main.c 6 Sep 2006 07:33:39 -0000 1.17
@@ -28,12 +28,12 @@
evas_common_image_cache_free();
}
-void
+EAPI void
evas_common_draw_init(void)
{
}
-RGBA_Draw_Context *
+EAPI RGBA_Draw_Context *
evas_common_draw_context_new(void)
{
RGBA_Draw_Context *dc;
@@ -42,13 +42,13 @@
return dc;
}
-void
+EAPI void
evas_common_draw_context_free(RGBA_Draw_Context *dc)
{
free(dc);
}
-void
+EAPI void
evas_common_draw_context_font_ext_set(RGBA_Draw_Context *dc,
void *data,
void *(*gl_new) (void *data, RGBA_Font_Glyph *fg),
@@ -61,7 +61,7 @@
dc->font_ext.func.gl_draw = gl_draw;
}
-void
+EAPI void
evas_common_draw_context_clip_clip(RGBA_Draw_Context *dc, int x, int y, int w, int h)
{
if (dc->clip.use)
@@ -73,7 +73,7 @@
evas_common_draw_context_set_clip(dc, x, y, w, h);
}
-void
+EAPI void
evas_common_draw_context_set_clip(RGBA_Draw_Context *dc, int x, int y, int w, int h)
{
dc->clip.use = 1;
@@ -83,13 +83,13 @@
dc->clip.h = h;
}
-void
+EAPI void
evas_common_draw_context_unset_clip(RGBA_Draw_Context *dc)
{
dc->clip.use = 0;
}
-void
+EAPI void
evas_common_draw_context_set_color(RGBA_Draw_Context *dc, int r, int g, int b, int a)
{
R_VAL(&(dc->col.col)) = (DATA8)r;
@@ -98,7 +98,7 @@
A_VAL(&(dc->col.col)) = (DATA8)a;
}
-void
+EAPI void
evas_common_draw_context_set_multiplier(RGBA_Draw_Context *dc, int r, int g, int b, int a)
{
dc->mul.use = 1;
@@ -108,13 +108,13 @@
A_VAL(&(dc->mul.col)) = (DATA8)a;
}
-void
+EAPI void
evas_common_draw_context_unset_multiplier(RGBA_Draw_Context *dc)
{
dc->mul.use = 0;
}
-void
+EAPI void
evas_common_draw_context_add_cutout(RGBA_Draw_Context *dc, int x, int y, int w, int h)
{
Cutout_Rect *r;
@@ -127,14 +127,14 @@
dc->cutout.rects = evas_object_list_append(dc->cutout.rects, r);
}
-void
+EAPI void
evas_common_draw_context_clear_cutouts(RGBA_Draw_Context *dc)
{
evas_common_draw_context_apply_free_cutouts(dc->cutout.rects);
dc->cutout.rects = NULL;
}
-Cutout_Rect *
+EAPI Cutout_Rect *
evas_common_draw_context_apply_cutouts(RGBA_Draw_Context *dc)
{
Cutout_Rect *r, *rects;
@@ -156,7 +156,7 @@
return rects;
}
-void
+EAPI void
evas_common_draw_context_apply_free_cutouts(Cutout_Rect *rects)
{
while (rects)
@@ -169,7 +169,7 @@
}
}
-Cutout_Rect *
+EAPI Cutout_Rect *
evas_common_draw_context_cutouts_split(Cutout_Rect *in, Cutout_Rect *split)
{
/* multiple rect in, multiple out */
@@ -196,7 +196,7 @@
return out;
}
-Cutout_Rect *
+EAPI Cutout_Rect *
evas_common_draw_context_cutout_split(Cutout_Rect *in, Cutout_Rect *split)
{
/* 1 input rect, multiple out */
@@ -501,7 +501,7 @@
#undef R_NEW
}
-Cutout_Rect *
+EAPI Cutout_Rect *
evas_common_draw_context_cutout_merge(Cutout_Rect *in, Cutout_Rect *merge)
{
/* 1 input rect, multiple out */
@@ -529,19 +529,19 @@
return out;
}
-void
+EAPI void
evas_common_draw_context_set_anti_alias(RGBA_Draw_Context *dc , unsigned char aa)
{
dc->anti_alias = !!aa;
}
-void
+EAPI void
evas_common_draw_context_set_color_interpolation(RGBA_Draw_Context *dc, int color_space)
{
dc->interpolation.color_space = color_space;
}
-void
+EAPI void
evas_common_draw_context_set_render_op(RGBA_Draw_Context *dc , int op)
{
dc->render_op = op;
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_font_draw.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- evas_font_draw.c 12 Aug 2006 14:46:15 -0000 1.27
+++ evas_font_draw.c 6 Sep 2006 07:33:40 -0000 1.28
@@ -1,6 +1,6 @@
#include "evas_common.h"
-RGBA_Font_Glyph *
+EAPI RGBA_Font_Glyph *
evas_common_font_int_cache_glyph_get(RGBA_Font_Int *fi, FT_UInt index)
{
RGBA_Font_Glyph *fg;
@@ -53,7 +53,7 @@
return fg;
}
-int
+EAPI int
evas_common_font_glyph_search(RGBA_Font *fn, RGBA_Font_Int **fi_ret, int gl)
{
Evas_List *l;
@@ -128,7 +128,7 @@
return 0;
}
-void
+EAPI void
evas_common_font_draw(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font *fn, int x, int y, const char *text)
{
int use_kerning;
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_font_load.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -3 -r1.36 -r1.37
--- evas_font_load.c 3 Jul 2006 09:09:06 -0000 1.36
+++ evas_font_load.c 6 Sep 2006 07:33:40 -0000 1.37
@@ -11,7 +11,7 @@
static Evas_Bool font_modify_cache_cb(Evas_Hash *hash, const char *key, void *data, void *fdata);
static Evas_Bool font_flush_free_glyph_cb(Evas_Hash *hash, const char *key, void *data, void *fdata);
-RGBA_Font_Source *
+EAPI RGBA_Font_Source *
evas_common_font_source_memory_load(const char *name, const void *data, int data_size)
{
int error;
@@ -38,7 +38,7 @@
return fs;
}
-RGBA_Font_Source *
+EAPI RGBA_Font_Source *
evas_common_font_source_load(const char *name)
{
RGBA_Font_Source *fs;
@@ -60,7 +60,7 @@
return fs;
}
-int
+EAPI int
evas_common_font_source_load_complete(RGBA_Font_Source *fs)
{
int error;
@@ -75,7 +75,7 @@
return error;
}
-RGBA_Font_Source *
+EAPI RGBA_Font_Source *
evas_common_font_source_find(const char *name)
{
Evas_Object_List *l;
@@ -97,7 +97,7 @@
return NULL;
}
-void
+EAPI void
evas_common_font_source_free(RGBA_Font_Source *fs)
{
fs->references--;
@@ -110,7 +110,7 @@
free(fs);
}
-void
+EAPI void
evas_common_font_size_use(RGBA_Font *fn)
{
Evas_List *l;
@@ -128,7 +128,7 @@
}
}
-RGBA_Font_Int *
+EAPI RGBA_Font_Int *
evas_common_font_int_memory_load(const char *name, int size, const void *data, int data_size)
{
RGBA_Font_Int *fi;
@@ -157,7 +157,7 @@
return fi;
}
-RGBA_Font_Int *
+EAPI RGBA_Font_Int *
evas_common_font_int_load(const char *name, int size)
{
RGBA_Font_Int *fi;
@@ -183,7 +183,7 @@
return evas_common_font_int_load_init(fi);
}
-RGBA_Font_Int *
+EAPI RGBA_Font_Int *
evas_common_font_int_load_init(RGBA_Font_Int *fi)
{
fi->ft.size = NULL;
@@ -194,7 +194,7 @@
return fi;
}
-RGBA_Font_Int *
+EAPI RGBA_Font_Int *
evas_common_font_int_load_complete(RGBA_Font_Int *fi)
{
int error;
@@ -245,7 +245,7 @@
return fi;
}
-RGBA_Font *
+EAPI RGBA_Font *
evas_common_font_memory_load(const char *name, int size, const void *data, int data_size)
{
RGBA_Font *fn;
@@ -265,7 +265,7 @@
return fn;
}
-RGBA_Font *
+EAPI RGBA_Font *
evas_common_font_load(const char *name, int size)
{
RGBA_Font *fn;
@@ -302,7 +302,7 @@
return fn;
}
-RGBA_Font *
+EAPI RGBA_Font *
evas_common_font_add(RGBA_Font *fn, const char *name, int size)
{
RGBA_Font_Int *fi;
@@ -319,7 +319,7 @@
return NULL;
}
-RGBA_Font *
+EAPI RGBA_Font *
evas_common_font_memory_add(RGBA_Font *fn, const char *name, int size, const void *data, int data_size)
{
RGBA_Font_Int *fi;
@@ -336,7 +336,7 @@
return NULL;
}
-void
+EAPI void
evas_common_font_free(RGBA_Font *fn)
{
Evas_List *l;
@@ -359,7 +359,7 @@
free(fn);
}
-void
+EAPI void
evas_common_font_hinting_set(RGBA_Font *fn, Font_Hint_Flags hinting)
{
Evas_List *l;
@@ -376,7 +376,7 @@
}
}
-Evas_Bool
+EAPI Evas_Bool
evas_common_hinting_available(Font_Hint_Flags hinting)
{
if (hinting == FONT_NO_HINT) return 1;
@@ -399,7 +399,7 @@
return 0;
}
-RGBA_Font *
+EAPI RGBA_Font *
evas_common_font_memory_hinting_load(const char *name, int size, const void *data, int data_size, Font_Hint_Flags hinting)
{
RGBA_Font *fn;
@@ -409,7 +409,7 @@
return fn;
}
-RGBA_Font *
+EAPI RGBA_Font *
evas_common_font_hinting_load(const char *name, int size, Font_Hint_Flags hinting)
{
RGBA_Font *fn;
@@ -419,7 +419,7 @@
return fn;
}
-RGBA_Font *
+EAPI RGBA_Font *
evas_common_font_hinting_add(RGBA_Font *fn, const char *name, int size, Font_Hint_Flags hinting)
{
fn = evas_common_font_add(fn, name, size);
@@ -427,7 +427,7 @@
return fn;
}
-RGBA_Font *
+EAPI RGBA_Font *
evas_common_font_memory_hinting_add(RGBA_Font *fn, const char *name, int size, const void *data, int data_size, Font_Hint_Flags hinting)
{
fn = evas_common_font_memory_add(fn, name, size, data, data_size);
@@ -451,7 +451,7 @@
key = 0;
}
-void
+EAPI void
evas_common_font_int_modify_cache_by(RGBA_Font_Int *fi, int dir)
{
int sz_hash = 0;
@@ -462,20 +462,20 @@
sizeof(FT_FaceRec) + 16384); /* fudge values */
}
-int
+EAPI int
evas_common_font_cache_get(void)
{
return font_cache;
}
-void
+EAPI void
evas_common_font_cache_set(int size)
{
font_cache = size;
evas_common_font_flush();
}
-void
+EAPI void
evas_common_font_flush(void)
{
if (font_cache_usage < font_cache) return;
@@ -498,7 +498,7 @@
fdata = 0;
}
-void
+EAPI void
evas_common_font_flush_last(void)
{
Evas_Object_List *l;
@@ -526,7 +526,7 @@
free(fi);
}
-RGBA_Font_Int *
+EAPI RGBA_Font_Int *
evas_common_font_int_find(const char *name, int size)
{
Evas_Object_List *l;
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_font_main.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- evas_font_main.c 19 Mar 2006 10:50:33 -0000 1.23
+++ evas_font_main.c 6 Sep 2006 07:33:40 -0000 1.24
@@ -3,7 +3,7 @@
FT_Library evas_ft_lib = 0;
static int initialised = 0;
-void
+EAPI void
evas_common_font_init(void)
{
int error;
@@ -18,7 +18,7 @@
}
}
-void
+EAPI void
evas_common_font_shutdown(void)
{
int error;
@@ -28,7 +28,7 @@
error = FT_Done_FreeType(evas_ft_lib);
}
-int
+EAPI int
evas_common_font_ascent_get(RGBA_Font *fn)
{
int val, dv;
@@ -45,7 +45,7 @@
return ret;
}
-int
+EAPI int
evas_common_font_descent_get(RGBA_Font *fn)
{
int val, dv;
@@ -62,7 +62,7 @@
return ret;
}
-int
+EAPI int
evas_common_font_max_ascent_get(RGBA_Font *fn)
{
int val, dv;
@@ -79,7 +79,7 @@
return ret;
}
-int
+EAPI int
evas_common_font_max_descent_get(RGBA_Font *fn)
{
int val, dv;
@@ -96,7 +96,7 @@
return ret;
}
-int
+EAPI int
evas_common_font_get_line_advance(RGBA_Font *fn)
{
int val, dv;
@@ -113,7 +113,7 @@
return ret;
}
-int
+EAPI int
evas_common_font_utf8_get_next(unsigned char *buf, int *iindex)
{
/* Reads UTF8 bytes from @buf, starting at *@index and returns
@@ -173,7 +173,7 @@
return r;
}
-int
+EAPI int
evas_common_font_utf8_get_prev(unsigned char *buf, int *iindex)
{
/* Reads UTF8 bytes from @buf, starting at *@index and returns
@@ -259,7 +259,7 @@
return r;
}
-int
+EAPI int
evas_common_font_utf8_get_last(unsigned char *buf, int buflen)
{
/* jumps to the nul byte at the buffer end and decodes backwards and
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_font_query.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- evas_font_query.c 9 Sep 2005 14:19:06 -0000 1.19
+++ evas_font_query.c 6 Sep 2006 07:33:40 -0000 1.20
@@ -1,7 +1,7 @@
#include "evas_common.h"
/* string extents */
-void
+EAPI void
evas_common_font_query_size(RGBA_Font *fn, const char *text, int *w, int *h)
{
int use_kerning;
@@ -76,7 +76,7 @@
}
/* text x inset */
-int
+EAPI int
evas_common_font_query_inset(RGBA_Font *fn, const char *text)
{
FT_UInt index;
@@ -99,7 +99,7 @@
}
/* h & v advance */
-void
+EAPI void
evas_common_font_query_advance(RGBA_Font *fn, const char *text, int *h_adv, int *v_adv)
{
int use_kerning;
@@ -156,7 +156,7 @@
}
/* x y w h for char at char pos */
-int
+EAPI int
evas_common_font_query_char_coords(RGBA_Font *fn, const char *text, int pos, int *cx, int *cy, int *cw, int *ch)
{
int use_kerning;
@@ -242,7 +242,7 @@
}
/* char pos of text at xy pos */
-int
+EAPI int
evas_common_font_query_text_at_pos(RGBA_Font *fn, const char *text, int x, int y, int *cx, int *cy, int *cw, int *ch)
{
int use_kerning;
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_gradient_main.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- evas_gradient_main.c 7 Jun 2006 23:30:14 -0000 1.10
+++ evas_gradient_main.c 6 Sep 2006 07:33:40 -0000 1.11
@@ -54,7 +54,7 @@
return (pp + 1);
}
-void
+EAPI void
evas_common_gradient_init(void)
{
}
@@ -64,7 +64,7 @@
{
}
-RGBA_Gradient *
+EAPI RGBA_Gradient *
evas_common_gradient_new(void)
{
RGBA_Gradient *gr;
@@ -73,7 +73,7 @@
return gr;
}
-void
+EAPI void
evas_common_gradient_free(RGBA_Gradient *gr)
{
if (!gr) return;
@@ -84,7 +84,7 @@
free(gr);
}
-void
+EAPI void
evas_common_gradient_colors_clear(RGBA_Gradient *gr)
{
if (!gr) return;
@@ -105,7 +105,7 @@
}
}
-void
+EAPI void
evas_common_gradient_color_add(RGBA_Gradient *gr, int r, int g, int b, int a, int dist)
{
RGBA_Gradient_Color *gc, *gcm, *gc_last;
@@ -154,7 +154,7 @@
gr->has_alpha = 1;
}
-void
+EAPI void
evas_common_gradient_data_set(RGBA_Gradient *gr, DATA32 *data, int len, int alpha_flags)
{
if (!gr || !data || (len < 1)) return;
@@ -169,7 +169,7 @@
gr->map.has_alpha = 0;
}
-void
+EAPI void
evas_common_gradient_data_unset(RGBA_Gradient *gr)
{
if (!gr) return;
@@ -184,7 +184,7 @@
gr->map.has_alpha = 0;
}
-void
+EAPI void
evas_common_gradient_type_set(RGBA_Gradient *gr, char *name)
{
if (!gr) return;
@@ -195,7 +195,7 @@
gr->type.name = strdup(gr->type.geometer->name);
}
-void
+EAPI void
evas_common_gradient_type_params_set(RGBA_Gradient *gr, char *params)
{
if (!gr) return;
@@ -206,7 +206,7 @@
if (params) gr->type.params = strdup(params);
}
-void
+EAPI void
evas_common_gradient_fill_set(RGBA_Gradient *gr, int x, int y, int w, int h)
{
if (!gr) return;
@@ -216,14 +216,14 @@
gr->fill.h = h;
}
-void
+EAPI void
evas_common_gradient_range_offset_set(RGBA_Gradient *gr, float offset)
{
if (!gr) return;
gr->range_offset = offset;
}
-RGBA_Gradient *
+EAPI RGBA_Gradient *
evas_common_gradient_geometry_init(RGBA_Gradient *gr, int spread)
{
if (!gr) return NULL;
@@ -237,7 +237,7 @@
return gr;
}
-int
+EAPI int
evas_common_gradient_has_alpha(RGBA_Gradient *gr, int spread, int op)
{
if (!gr || !gr->type.geometer) return 0;
@@ -245,7 +245,7 @@
gr->type.geometer->has_mask(gr, spread, op));
}
-RGBA_Gradient_Type *
+EAPI RGBA_Gradient_Type *
evas_common_gradient_geometer_get(char *name)
{
RGBA_Gradient_Type *geom = NULL;
@@ -268,7 +268,7 @@
}
-void
+EAPI void
evas_common_gradient_draw(RGBA_Image *dst, RGBA_Draw_Context *dc,
int x, int y, int w, int h, RGBA_Gradient *gr,
double angle, int spread)
@@ -713,7 +713,7 @@
}
}
-void
+EAPI void
evas_common_gradient_map(RGBA_Draw_Context *dc, RGBA_Gradient *gr, int spread)
{
if (!gr || !dc) return;
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_image_load.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- evas_image_load.c 18 Aug 2006 14:54:24 -0000 1.33
+++ evas_image_load.c 6 Sep 2006 07:33:40 -0000 1.34
@@ -3,7 +3,7 @@
extern Evas_List *evas_modules;
-RGBA_Image *
+EAPI RGBA_Image *
evas_common_load_image_from_file(const char *file, const char *key, RGBA_Image_Loadopts *lo)
{
Evas_Image_Load_Func *evas_image_load_func = NULL;
@@ -93,7 +93,7 @@
return im;
}
-void
+EAPI void
evas_common_load_image_data_from_file(RGBA_Image *im)
{
Evas_Image_Load_Func *evas_image_load_func = NULL;
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_image_main.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- evas_image_main.c 21 Aug 2006 15:19:07 -0000 1.33
+++ evas_image_main.c 6 Sep 2006 07:33:40 -0000 1.34
@@ -70,7 +70,7 @@
}
#endif
-void
+EAPI void
evas_common_image_init(void)
{
#ifdef BUILD_LOADER_EET
@@ -78,7 +78,7 @@
#endif
}
-void
+EAPI void
evas_common_image_shutdown(void)
{
#ifdef BUILD_LOADER_EET
@@ -152,7 +152,7 @@
}
#endif
-RGBA_Surface *
+EAPI RGBA_Surface *
evas_common_image_surface_new(RGBA_Image *im)
{
RGBA_Surface *is;
@@ -162,14 +162,14 @@
return is;
}
-void
+EAPI void
evas_common_image_surface_free(RGBA_Surface *is)
{
evas_common_image_surface_dealloc(is);
free(is);
}
-void
+EAPI void
evas_common_image_surface_alloc(RGBA_Surface *is)
{
size_t siz = 0;
@@ -186,7 +186,7 @@
#endif
}
-void
+EAPI void
evas_common_image_surface_dealloc(RGBA_Surface *is)
{
if ((is->data) && (!is->no_free))
@@ -196,7 +196,7 @@
}
}
-RGBA_Image *
+EAPI RGBA_Image *
evas_common_image_create(int w, int h)
{
RGBA_Image *im;
@@ -222,7 +222,7 @@
return im;
}
-RGBA_Image *
+EAPI RGBA_Image *
evas_common_image_alpha_create(int w, int h)
{
RGBA_Image *im;
@@ -249,7 +249,7 @@
return im;
}
-RGBA_Image *
+EAPI RGBA_Image *
evas_common_image_new(void)
{
RGBA_Image *im;
@@ -260,7 +260,7 @@
return im;
}
-void
+EAPI void
evas_common_image_free(RGBA_Image *im)
{
if (im->image) evas_common_image_surface_free(im->image);
@@ -271,7 +271,7 @@
free(im);
}
-void
+EAPI void
evas_common_image_ref(RGBA_Image *im)
{
im->references++;
@@ -282,7 +282,7 @@
}
}
-void
+EAPI void
evas_common_image_unref(RGBA_Image *im)
{
im->references--;
@@ -302,7 +302,7 @@
}
}
-void
+EAPI void
evas_common_image_cache(RGBA_Image *im)
{
int ram;
@@ -315,7 +315,7 @@
evas_common_image_flush_cache();
}
-void
+EAPI void
evas_common_image_uncache(RGBA_Image *im)
{
int ram;
@@ -327,7 +327,7 @@
cache_usage -= ram;
}
-void
+EAPI void
evas_common_image_flush_cache(void)
{
Evas_Object_List *l, *l_next;
@@ -348,20 +348,20 @@
}
}
-void
+EAPI void
evas_common_image_set_cache(int size)
{
cache_size = size;
evas_common_image_flush_cache();
}
-int
+EAPI int
evas_common_image_get_cache(void)
{
return cache_size;
}
-void
+EAPI void
evas_common_image_store(RGBA_Image *im)
{
char buf[4096 + 1204];
@@ -389,7 +389,7 @@
im->flags |= RGBA_IMAGE_INDEXED;
}
-void
+EAPI void
evas_common_image_unstore(RGBA_Image *im)
{
char buf[4096 + 1024];
@@ -417,7 +417,7 @@
}
-RGBA_Image *
+EAPI RGBA_Image *
evas_common_image_find(const char *file, const char *key, DATA64 timestamp, RGBA_Image_Loadopts *lo)
{
RGBA_Image *im;
@@ -466,7 +466,7 @@
return NULL;
}
-int
+EAPI int
evas_common_image_ram_usage(RGBA_Image *im)
{
int ram = 0;
@@ -481,14 +481,14 @@
return ram;
}
-void
+EAPI void
evas_common_image_dirty(RGBA_Image *im)
{
evas_common_image_unstore(im);
im->flags |= RGBA_IMAGE_IS_DIRTY;
}
-void
+EAPI void
evas_common_image_cache_free(void)
{
evas_common_image_set_cache(0);
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_line_main.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- evas_line_main.c 8 Jun 2006 08:11:19 -0000 1.16
+++ evas_line_main.c 6 Sep 2006 07:33:40 -0000 1.17
@@ -33,12 +33,12 @@
}
-void
+EAPI void
evas_common_line_init(void)
{
}
-void
+EAPI void
evas_common_line_draw(RGBA_Image *dst, RGBA_Draw_Context *dc, int x0, int y0, int x1, int y1)
{
int x, y, w, h;
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_polygon_main.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_polygon_main.c 2 May 2006 07:28:47 -0000 1.5
+++ evas_polygon_main.c 6 Sep 2006 07:33:40 -0000 1.6
@@ -60,12 +60,12 @@
num_active_edges++; \
}
-void
+EAPI void
evas_common_polygon_init(void)
{
}
-RGBA_Polygon_Point *
+EAPI RGBA_Polygon_Point *
evas_common_polygon_point_add(RGBA_Polygon_Point *points, int x, int y)
{
RGBA_Polygon_Point *pt;
@@ -78,7 +78,7 @@
return points;
}
-RGBA_Polygon_Point *
+EAPI RGBA_Polygon_Point *
evas_common_polygon_points_clear(RGBA_Polygon_Point *points)
{
if (points)
@@ -117,7 +117,7 @@
return 1;
}
-void
+EAPI void
evas_common_polygon_draw(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Polygon_Point *points)
{
RGBA_Gfx_Func func;
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_rectangle_main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- evas_rectangle_main.c 2 May 2006 07:28:47 -0000 1.4
+++ evas_rectangle_main.c 6 Sep 2006 07:33:40 -0000 1.5
@@ -2,12 +2,12 @@
static void rectangle_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, int x, int y, int w, int h);
-void
+EAPI void
evas_common_rectangle_init(void)
{
}
-void
+EAPI void
evas_common_rectangle_draw(RGBA_Image *dst, RGBA_Draw_Context *dc, int x, int y, int w, int h)
{
int c, cx, cy, cw, ch;
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_scale_main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_scale_main.c 14 Nov 2002 05:38:10 -0000 1.2
+++ evas_scale_main.c 6 Sep 2006 07:33:40 -0000 1.3
@@ -1,6 +1,6 @@
#include "evas_common.h"
-void
+EAPI void
evas_common_scale_init(void)
{
}
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_scale_sample.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_scale_sample.c 2 May 2006 07:28:47 -0000 1.5
+++ evas_scale_sample.c 6 Sep 2006 07:33:40 -0000 1.6
@@ -4,7 +4,7 @@
#ifndef BUILD_SCALE_SMOOTH
#ifdef BUILD_SCALE_SAMPLE
-void
+EAPI void
evas_common_scale_rgba_in_to_out_clip_smooth(RGBA_Image *src, RGBA_Image *dst,
RGBA_Draw_Context *dc,
int src_region_x, int src_region_y,
@@ -22,7 +22,7 @@
#endif
#ifdef BUILD_SCALE_SAMPLE
-void
+EAPI void
evas_common_scale_rgba_in_to_out_clip_sample(RGBA_Image *src, RGBA_Image *dst,
RGBA_Draw_Context *dc,
int src_region_x, int src_region_y,
@@ -314,7 +314,7 @@
}
#else
#ifdef BUILD_SCALE_SMOOTH
-void
+EAPI void
evas_common_scale_rgba_in_to_out_clip_sample(RGBA_Image *src, RGBA_Image *dst,
RGBA_Draw_Context *dc,
int src_region_x, int src_region_y,
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_scale_smooth.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- evas_scale_smooth.c 7 Jun 2006 23:30:14 -0000 1.13
+++ evas_scale_smooth.c 6 Sep 2006 07:33:40 -0000 1.14
@@ -82,7 +82,7 @@
#ifdef BUILD_SCALE_SMOOTH
#ifdef BUILD_C
-void
+EAPI void
evas_common_scale_rgba_mipmap_down_2x2_c(DATA32 *src, DATA32 *dst, int src_w, int src_h)
{
int x, y, dst_w, dst_h;
@@ -119,7 +119,7 @@
#ifdef BUILD_SCALE_SMOOTH
#ifdef BUILD_C
-void
+EAPI void
evas_common_scale_rgba_mipmap_down_2x1_c(DATA32 *src, DATA32 *dst, int src_w, int src_h)
{
int x, y, dst_w, dst_h;
@@ -153,7 +153,7 @@
#ifdef BUILD_SCALE_SMOOTH
#ifdef BUILD_C
-void
+EAPI void
evas_common_scale_rgba_mipmap_down_1x2_c(DATA32 *src, DATA32 *dst, int src_w, int src_h)
{
int x, y, dst_w, dst_h;
@@ -190,7 +190,7 @@
#ifdef BUILD_SCALE_SMOOTH
#ifdef BUILD_C
-void
+EAPI void
evas_common_scale_rgb_mipmap_down_2x2_c(DATA32 *src, DATA32 *dst, int src_w, int src_h)
{
int x, y, dst_w, dst_h;
@@ -227,7 +227,7 @@
#ifdef BUILD_SCALE_SMOOTH
#ifdef BUILD_C
-void
+EAPI void
evas_common_scale_rgb_mipmap_down_2x1_c(DATA32 *src, DATA32 *dst, int src_w, int src_h)
{
int x, y, dst_w, dst_h;
@@ -261,7 +261,7 @@
#ifdef BUILD_SCALE_SMOOTH
#ifdef BUILD_C
-void
+EAPI void
evas_common_scale_rgb_mipmap_down_1x2_c(DATA32 *src, DATA32 *dst, int src_w, int src_h)
{
int x, y, dst_w, dst_h;
@@ -298,7 +298,7 @@
#ifdef BUILD_SCALE_SMOOTH
#ifdef BUILD_MMX
-void
+EAPI void
evas_common_scale_rgba_mipmap_down_2x2_mmx(DATA32 *src, DATA32 *dst, int src_w, int src_h)
{
int x, y, dst_w, dst_h;
@@ -345,7 +345,7 @@
#ifdef BUILD_SCALE_SMOOTH
#ifdef BUILD_MMX
-void
+EAPI void
evas_common_scale_rgba_mipmap_down_2x1_mmx(DATA32 *src, DATA32 *dst, int src_w, int src_h)
{
int x, y, dst_w, dst_h;
@@ -383,7 +383,7 @@
#ifdef BUILD_SCALE_SMOOTH
#ifdef BUILD_MMX
-void
+EAPI void
evas_common_scale_rgba_mipmap_down_1x2_mmx(DATA32 *src, DATA32 *dst, int src_w, int src_h)
{
int x, y, dst_w, dst_h;
@@ -436,7 +436,7 @@
# undef SCALE_USING_MMX
# include "evas_scale_smooth_scaler.c"
# endif
-void
+EAPI void
evas_common_scale_rgba_in_to_out_clip_smooth(RGBA_Image *src, RGBA_Image *dst,
RGBA_Draw_Context *dc,
int src_region_x, int src_region_y,
@@ -743,7 +743,7 @@
}
#endif
-void
+EAPI void
evas_common_scale_rgba_span(DATA32 *src, int src_len, DATA32 mul_col, DATA32 *dst, int dst_len)
{
#ifdef BUILD_MMX
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_tiler.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- evas_tiler.c 19 Dec 2005 03:11:39 -0000 1.7
+++ evas_tiler.c 6 Sep 2006 07:33:40 -0000 1.8
@@ -10,12 +10,12 @@
#endif
static void tilebuf_setup(Tilebuf *tb);
-void
+EAPI void
evas_common_tilebuf_init(void)
{
}
-Tilebuf *
+EAPI Tilebuf *
evas_common_tilebuf_new(int w, int h)
{
Tilebuf *tb;
@@ -31,7 +31,7 @@
return tb;
}
-void
+EAPI void
evas_common_tilebuf_free(Tilebuf *tb)
{
#ifdef RECTUPDATE
@@ -42,7 +42,7 @@
free(tb);
}
-void
+EAPI void
evas_common_tilebuf_set_tile_size(Tilebuf *tb, int tw, int th)
{
tb->tile_size.w = tw;
@@ -50,14 +50,14 @@
tilebuf_setup(tb);
}
-void
+EAPI void
evas_common_tilebuf_get_tile_size(Tilebuf *tb, int *tw, int *th)
{
if (tw) *tw = tb->tile_size.w;
if (th) *th = tb->tile_size.h;
}
-int
+EAPI int
evas_common_tilebuf_add_redraw(Tilebuf *tb, int x, int y, int w, int h)
{
#ifdef RECTUPDATE
@@ -98,7 +98,7 @@
#endif
}
-int
+EAPI int
evas_common_tilebuf_del_redraw(Tilebuf *tb, int x, int y, int w, int h)
{
#ifdef RECTUPDATE
@@ -136,7 +136,7 @@
#endif
}
-int
+EAPI int
evas_common_tilebuf_add_motion_vector(Tilebuf *tb, int x, int y, int w, int h, int dx, int dy, int alpha)
{
/* FIXME: need to actually impliment motion vectors. for now it just */
@@ -148,7 +148,7 @@
return num;
}
-void
+EAPI void
evas_common_tilebuf_clear(Tilebuf *tb)
{
#ifdef RECTUPDATE
@@ -159,7 +159,7 @@
#endif
}
-Tilebuf_Rect *
+EAPI Tilebuf_Rect *
evas_common_tilebuf_get_render_rects(Tilebuf *tb)
{
#ifdef RECTUPDATE
@@ -232,7 +232,7 @@
#endif
}
-void
+EAPI void
evas_common_tilebuf_free_render_rects(Tilebuf_Rect *rects)
{
while (rects)
|