diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-02-11 14:04:00 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-02-11 14:04:00 +0100 |
commit | 7d181099272d9c0e92c4488ceaa95b0d8bd10f1e (patch) | |
tree | 22c134eae1ee467f64e3e14dc38d31c9a5a8aa03 | |
parent | 75ec5116bf42a3c4f7b436ab72901fea36d13811 (diff) | |
download | mupdf-7d181099272d9c0e92c4488ceaa95b0d8bd10f1e.tar.xz |
Purge unused and bit rotted fz_accelerate stuff, part 2.
-rw-r--r-- | android/jni/mupdf.c | 4 | ||||
-rw-r--r-- | fitz/fitz.h | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/android/jni/mupdf.c b/android/jni/mupdf.c index a1a82ca8..3e471355 100644 --- a/android/jni/mupdf.c +++ b/android/jni/mupdf.c @@ -35,7 +35,6 @@ JNIEXPORT int JNICALL Java_com_artifex_mupdf_MuPDFCore_openFile(JNIEnv * env, jobject thiz, jstring jfilename) { const char *filename; - int accelerate = 1; int pages = 0; filename = (*env)->GetStringUTFChars(env, jfilename, NULL); @@ -45,9 +44,6 @@ Java_com_artifex_mupdf_MuPDFCore_openFile(JNIEnv * env, jobject thiz, jstring jf return 0; } - if (accelerate) - fz_accelerate(); - /* 128 MB store for low memory devices. Tweak as necessary. */ ctx = fz_new_context(NULL, NULL, 128 << 20); if (!ctx) diff --git a/fitz/fitz.h b/fitz/fitz.h index 335088e5..43878094 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -1513,9 +1513,6 @@ void fz_run_display_list(fz_display_list *list, fz_device *dev, fz_matrix ctm, f * Plotting functions. */ -void fz_accelerate(void); -void fz_accelerate_arch(void); - void fz_decode_tile(fz_pixmap *pix, float *decode); void fz_decode_indexed_tile(fz_pixmap *pix, float *decode, int maxval); void fz_unpack_tile(fz_pixmap *dst, unsigned char * restrict src, int n, int depth, int stride, int scale); |