ector: follow function naming convention.
This commit is contained in:
parent
95d398b5c8
commit
ef975a9fd2
|
@ -159,9 +159,9 @@ RGBA_Comp_Func ector_comp_func_span_get(Ector_Rop op, uint color, Eina_Bool src_
|
|||
return func_for_mode[op];
|
||||
}
|
||||
|
||||
void init_draw_helper()
|
||||
void draw_helper_init()
|
||||
{
|
||||
init_drawhelper_gradient();
|
||||
init_draw_helper_sse2();
|
||||
init_draw_helper_neon();
|
||||
drawhelper_gradient_init();
|
||||
draw_helper_sse2_init();
|
||||
draw_helper_neon_init();
|
||||
}
|
||||
|
|
|
@ -214,7 +214,7 @@ comp_func_source_over_sse2(uint * __restrict dest, const uint * __restrict src,
|
|||
#endif
|
||||
|
||||
void
|
||||
init_draw_helper_neon()
|
||||
draw_helper_neon_init()
|
||||
{
|
||||
#ifdef BUILD_NEON
|
||||
if (eina_cpu_features_get() & EINA_CPU_NEON)
|
||||
|
|
|
@ -93,11 +93,11 @@ typedef void (*RGBA_Comp_Func_Solid)(uint *dest, int length, uint color, uint co
|
|||
extern RGBA_Comp_Func_Solid func_for_mode_solid[ECTOR_ROP_LAST];
|
||||
extern RGBA_Comp_Func func_for_mode[ECTOR_ROP_LAST];
|
||||
|
||||
void init_drawhelper_gradient();
|
||||
void init_draw_helper_sse2();
|
||||
void init_draw_helper_neon();
|
||||
void drawhelper_gradient_init();
|
||||
void draw_helper_sse2_init();
|
||||
void draw_helper_neon_init();
|
||||
|
||||
void init_draw_helper();
|
||||
void draw_helper_init();
|
||||
|
||||
RGBA_Comp_Func_Solid ector_comp_func_solid_span_get(Ector_Rop op, uint color);
|
||||
RGBA_Comp_Func ector_comp_func_span_get(Ector_Rop op, uint color, Eina_Bool src_alpha);
|
||||
|
|
|
@ -319,7 +319,7 @@ comp_func_source_over_sse2(uint *dest, const uint *src, int length, uint color,
|
|||
#endif
|
||||
|
||||
void
|
||||
init_draw_helper_sse2()
|
||||
draw_helper_sse2_init()
|
||||
{
|
||||
#ifdef BUILD_SSE3
|
||||
if (eina_cpu_features_get() & EINA_CPU_SSE2)
|
||||
|
|
|
@ -475,7 +475,7 @@ fetch_radial_gradient(uint *buffer, Span_Data *data, int y, int x, int length)
|
|||
|
||||
|
||||
void
|
||||
init_drawhelper_gradient()
|
||||
drawhelper_gradient_init()
|
||||
{
|
||||
radial_helper = _radial_helper_generic;
|
||||
linear_helper = _linear_helper_generic;
|
||||
|
|
|
@ -315,7 +315,7 @@ void ector_software_rasterizer_init(Software_Rasterizer *rasterizer)
|
|||
rasterizer->fill_data.clip.enabled = EINA_FALSE;
|
||||
rasterizer->fill_data.unclipped_blend = 0;
|
||||
rasterizer->fill_data.blend = 0;
|
||||
init_draw_helper();
|
||||
draw_helper_init();
|
||||
}
|
||||
|
||||
void ector_software_rasterizer_done(Software_Rasterizer *rasterizer)
|
||||
|
|
Loading…
Reference in New Issue