summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common_8/evas_soft8_scanline_fill.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-10-16 02:49:01 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-10-16 02:49:01 +0000
commit7e3479e2f8bcded99b365bc1f43ef2c60e44d9b6 (patch)
treef98d3db90f896651c0a900dfbb117813fc37dd1c /legacy/evas/src/lib/engines/common_8/evas_soft8_scanline_fill.c
parentbb90530f7b4240740ae54828bcaa269e909f80de (diff)
remove 8bpp engine too form evas.
SVN revision: 78026
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common_8/evas_soft8_scanline_fill.c53
1 files changed, 0 insertions, 53 deletions
diff --git a/legacy/evas/src/lib/engines/common_8/evas_soft8_scanline_fill.c b/legacy/evas/src/lib/engines/common_8/evas_soft8_scanline_fill.c
deleted file mode 100644
index f1f3b8f629..0000000000
--- a/legacy/evas/src/lib/engines/common_8/evas_soft8_scanline_fill.c
+++ /dev/null
@@ -1,53 +0,0 @@
1/** NOTE: This file is meant to be included by users **/
2
3/*****************************************************************************
4 * Point processing
5 *
6 * _soft8_pt_<description>_<src>_<dst>[_<modifier>]()
7 *
8 * Scanline processing
9 *
10 * _soft8_scanline_<description>_<src>_<dst>[_<modifier>]()
11 *
12 ****************************************************************************/
13EFL_ALWAYS_INLINE void
14_soft8_pt_fill_solid_solid(DATA8 * dst, DATA8 gry8)
15{
16 *dst = gry8;
17}
18
19EFL_ALWAYS_INLINE void
20_soft8_scanline_fill_solid_solid(DATA8 * dst, int size, DATA8 gry8)
21{
22 memset(dst, gry8, size);
23}
24
25EFL_ALWAYS_INLINE void
26_soft8_pt_fill_transp_solid(DATA8 * dst, DATA8 gry8, DATA8 alpha)
27{
28 *dst = GRY_8_BLEND(gry8, *dst, alpha);
29}
30
31static void
32_soft8_scanline_fill_transp_solid(DATA8 * dst, int size, DATA8 gry8,
33 DATA8 alpha)
34{
35 DATA8 *start, *end;
36
37 start = dst;
38 pld(start, 0);
39 end = start + (size & ~7);
40
41 while (start < end)
42 {
43 pld(start, 32);
44 UNROLL8(
45 {
46 _soft8_pt_fill_transp_solid(start, gry8, alpha); start++;}
47 );
48 }
49
50 end = start + (size & 7);
51 for (; start < end; start++)
52 _soft8_pt_fill_transp_solid(start, gry8, alpha);
53}