summaryrefslogtreecommitdiff
path: root/draw/archport.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-21 22:42:11 +0000
committerTor Andersson <tor@ghostscript.com>2010-07-21 22:42:11 +0000
commitd5d8d07709f6ad7d76ee1c466faf4d28549299a9 (patch)
tree4a5a49a4cf4edb527ac757068dfd3c6ec7d504e8 /draw/archport.c
parentc7f031f2039aa6b8c681e377849208ebea4b6f01 (diff)
downloadmupdf-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.c16
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