summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/jni/mupdf.c4
-rw-r--r--fitz/fitz.h3
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);