diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-07-21 22:42:11 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-07-21 22:42:11 +0000 |
commit | d5d8d07709f6ad7d76ee1c466faf4d28549299a9 (patch) | |
tree | 4a5a49a4cf4edb527ac757068dfd3c6ec7d504e8 /draw/archport.c | |
parent | c7f031f2039aa6b8c681e377849208ebea4b6f01 (diff) | |
download | mupdf-d5d8d07709f6ad7d76ee1c466faf4d28549299a9.tar.xz |
Replace path blending with general blending functions. Rewrite image rendering loops so they don't depend on the scan converter.
Diffstat (limited to 'draw/archport.c')
-rw-r--r-- | draw/archport.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/draw/archport.c b/draw/archport.c index 16e80c99..c7be977a 100644 --- a/draw/archport.c +++ b/draw/archport.c @@ -4,6 +4,8 @@ typedef unsigned char byte; /* These C implementations use SWAR (SIMD-within-a-register) techniques. */ +#if 0 /* TODO: move into porterduff.c functions */ + #define MASK 0xFF00FF00; static void @@ -465,19 +467,17 @@ img_1o1_32bit(byte * restrict src, byte cov, int len, byte * restrict dst, } } +#endif + void fz_accelerate(void) { if (sizeof(int) == 4 && sizeof(unsigned int) == 4 && !fz_isbigendian()) { - fz_path_w4i1o4 = path_w4i1o4_32bit; +// fz_path_w4i1o4 = path_w4i1o4_32bit; // fz_text_w4i1o4 = text_w4i1o4_32bit; - fz_img_4o4 = img_4o4_32bit; - fz_img_w4i1o4 = img_w4i1o4_32bit; - fz_img_1o1 = img_1o1_32bit; - } - - if (sizeof(int) == 8) - { +// fz_img_4o4 = img_4o4_32bit; +// fz_img_w4i1o4 = img_w4i1o4_32bit; +// fz_img_1o1 = img_1o1_32bit; } #ifdef HAVE_CPUDEP |