* move blend functions declaration to their own header files
* add vim header SVN revision: 35182
This commit is contained in:
parent
60391e746d
commit
9c58ab7087
|
@ -62,6 +62,8 @@ evas_regionbuf.c \
|
|||
evas_pipe.c
|
||||
|
||||
EXTRA_DIST = \
|
||||
evas_blend.h \
|
||||
evas_blend_private.h \
|
||||
evas_convert_color.h \
|
||||
evas_convert_colorspace.h \
|
||||
evas_convert_gry_1.h \
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||
*/
|
||||
|
||||
#ifndef _EVAS_BLEND_H
|
||||
#define _EVAS_BLEND_H
|
||||
|
||||
|
||||
EAPI void evas_common_blend_init (void);
|
||||
|
||||
|
||||
#endif /* _EVAS_BLEND_H */
|
|
@ -1,4 +1,9 @@
|
|||
/*
|
||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||
*/
|
||||
|
||||
#include "evas_common.h"
|
||||
#include "evas_blend_private.h"
|
||||
|
||||
#if defined BUILD_MMX || defined BUILD_SSE
|
||||
#include "evas_mmx.h"
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||
*/
|
||||
|
||||
#ifndef _EVAS_BLEND_PRIVATE_H
|
||||
#define _EVAS_BLEND_PRIVATE_H
|
||||
|
||||
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_blend_get (void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_blend_rel_get (void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_copy_get (void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_copy_rel_get (void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_add_get (void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_add_rel_get (void);
|
||||
/*
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_sub_get(void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_sub_rel_get(void);
|
||||
*/
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_mask_get (void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_mul_get (void);
|
||||
|
||||
RGBA_Gfx_Func evas_common_gfx_func_composite_pixel_span_get (RGBA_Image *src, RGBA_Image *dst, int pixels, int op);
|
||||
RGBA_Gfx_Func evas_common_gfx_func_composite_color_span_get (DATA32 col, RGBA_Image *dst, int pixels, int op);
|
||||
RGBA_Gfx_Func evas_common_gfx_func_composite_pixel_color_span_get (RGBA_Image *src, DATA32 col, RGBA_Image *dst, int pixels, int op);
|
||||
RGBA_Gfx_Func evas_common_gfx_func_composite_mask_color_span_get (DATA32 col, RGBA_Image *dst, int pixels, int op);
|
||||
RGBA_Gfx_Func evas_common_gfx_func_composite_pixel_mask_span_get (RGBA_Image *src, RGBA_Image *dst, int pixels, int op);
|
||||
|
||||
RGBA_Gfx_Pt_Func evas_common_gfx_func_composite_pixel_pt_get (Image_Entry_Flags src_flags, RGBA_Image *dst, int op);
|
||||
RGBA_Gfx_Pt_Func evas_common_gfx_func_composite_color_pt_get (DATA32 col, RGBA_Image *dst, int op);
|
||||
RGBA_Gfx_Pt_Func evas_common_gfx_func_composite_pixel_color_pt_get (Image_Entry_Flags src_flags, DATA32 col, RGBA_Image *dst, int op);
|
||||
RGBA_Gfx_Pt_Func evas_common_gfx_func_composite_mask_color_pt_get (DATA32 col, RGBA_Image *dst, int op);
|
||||
RGBA_Gfx_Pt_Func evas_common_gfx_func_composite_pixel_mask_pt_get (Image_Entry_Flags src_flags, RGBA_Image *dst, int op);
|
||||
|
||||
|
||||
#endif /* _EVAS_BLEND_PRIVATE_H */
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||
*/
|
||||
|
||||
#ifndef _EVAS_DRAW_H
|
||||
#define _EVAS_DRAW_H
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
*/
|
||||
|
||||
#include "evas_common.h"
|
||||
#include "evas_blend_private.h"
|
||||
|
||||
EAPI RGBA_Font_Glyph *
|
||||
evas_common_font_int_cache_glyph_get(RGBA_Font_Int *fi, FT_UInt index)
|
||||
|
|
|
@ -5,9 +5,7 @@
|
|||
#include <math.h>
|
||||
|
||||
#include "evas_common.h"
|
||||
#include "evas_convert_main.h"
|
||||
#include "evas_convert_color.h"
|
||||
#include "evas_scale_span.h"
|
||||
#include "evas_blend_private.h"
|
||||
#include "evas_gradient_private.h"
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
*/
|
||||
|
||||
#include "evas_common.h"
|
||||
#include "evas_blend_private.h"
|
||||
|
||||
|
||||
static void
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||
*/
|
||||
|
||||
#include "evas_common.h"
|
||||
|
||||
static RGBA_Gfx_Func op_add_span_funcs[SP_LAST][SM_LAST][SC_LAST][DP_LAST][CPU_LAST];
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
/*
|
||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||
*/
|
||||
|
||||
#include "evas_common.h"
|
||||
#include "evas_blend_private.h"
|
||||
|
||||
static RGBA_Gfx_Func op_copy_span_funcs[SP_LAST][SM_LAST][SC_LAST][DP_LAST][CPU_LAST];
|
||||
static RGBA_Gfx_Pt_Func op_copy_pt_funcs[SP_LAST][SM_LAST][SC_LAST][DP_LAST][CPU_LAST];
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include <math.h>
|
||||
|
||||
#include "evas_common.h"
|
||||
#include "evas_blend_private.h"
|
||||
|
||||
typedef struct _RGBA_Span RGBA_Span;
|
||||
typedef struct _RGBA_Edge RGBA_Edge;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
*/
|
||||
|
||||
#include "evas_common.h"
|
||||
#include "evas_blend_private.h"
|
||||
|
||||
static void rectangle_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, int x, int y, int w, int h);
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
*/
|
||||
|
||||
#include "evas_common.h"
|
||||
#include "evas_blend_private.h"
|
||||
|
||||
void scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst, RGBA_Draw_Context *dc, int src_region_x, int src_region_y, int src_region_w, int src_region_h, int dst_region_x, int dst_region_y, int dst_region_w, int dst_region_h);
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include "evas_common.h"
|
||||
#include "evas_scale_smooth.h"
|
||||
#include "evas_blend_private.h"
|
||||
|
||||
|
||||
static DATA32 **scale_calc_y_points(DATA32 *src, int sw, int sh, int dh);
|
||||
|
|
|
@ -796,32 +796,7 @@ EAPI void evas_common_cpu_end_opt (void);
|
|||
EAPI int evas_common_cpu_count (void);
|
||||
|
||||
/****/
|
||||
EAPI void evas_common_blend_init (void);
|
||||
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_blend_get(void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_blend_rel_get(void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_copy_get(void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_copy_rel_get(void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_add_get(void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_add_rel_get(void);
|
||||
/*
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_sub_get(void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_sub_rel_get(void);
|
||||
*/
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_mask_get(void);
|
||||
RGBA_Gfx_Compositor *evas_common_gfx_compositor_mul_get(void);
|
||||
|
||||
RGBA_Gfx_Func evas_common_gfx_func_composite_pixel_span_get (RGBA_Image *src, RGBA_Image *dst, int pixels, int op);
|
||||
RGBA_Gfx_Func evas_common_gfx_func_composite_color_span_get (DATA32 col, RGBA_Image *dst, int pixels, int op);
|
||||
RGBA_Gfx_Func evas_common_gfx_func_composite_pixel_color_span_get (RGBA_Image *src, DATA32 col, RGBA_Image *dst, int pixels, int op);
|
||||
RGBA_Gfx_Func evas_common_gfx_func_composite_mask_color_span_get (DATA32 col, RGBA_Image *dst, int pixels, int op);
|
||||
RGBA_Gfx_Func evas_common_gfx_func_composite_pixel_mask_span_get (RGBA_Image *src, RGBA_Image *dst, int pixels, int op);
|
||||
|
||||
RGBA_Gfx_Pt_Func evas_common_gfx_func_composite_pixel_pt_get (Image_Entry_Flags src_flags, RGBA_Image *dst, int op);
|
||||
RGBA_Gfx_Pt_Func evas_common_gfx_func_composite_color_pt_get (DATA32 col, RGBA_Image *dst, int op);
|
||||
RGBA_Gfx_Pt_Func evas_common_gfx_func_composite_pixel_color_pt_get (Image_Entry_Flags src_flags, DATA32 col, RGBA_Image *dst, int op);
|
||||
RGBA_Gfx_Pt_Func evas_common_gfx_func_composite_mask_color_pt_get (DATA32 col, RGBA_Image *dst, int op);
|
||||
RGBA_Gfx_Pt_Func evas_common_gfx_func_composite_pixel_mask_pt_get (Image_Entry_Flags src_flags, RGBA_Image *dst, int op);
|
||||
#include "../engines/common/evas_blend.h"
|
||||
|
||||
EAPI Gfx_Func_Copy evas_common_draw_func_copy_get (int pixels, int reverse);
|
||||
|
||||
|
|
Loading…
Reference in New Issue