From 0c6bc40564d4e15f2801266115e7a7a137451907 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 22 May 2013 19:57:25 +0100 Subject: Bug 694092: Android: Redraw performance (overdraw) fixes Thanks to Goncalo Ferreira(*) (aka monxalo) for this patch. Firstly, we move our textured background off the layout and into a style applied to MuPDFActivity. By using "windowBackground", we avoid the default background being redrawn only to be overlaid with ours. This cuts out one level of overdrawing. Secondly, when drawing each PageView, the old code would render the background for the page, then would draw the bitmap over the top of that. While it's important to draw the background of the page before we have a bitmap for the page, we can avoid that stage once a page bitmap arrives. (* apologies for not being able to put the cedilla on the 'c' in your name, but git gives problems with top bit set chars.) --- android/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'android/AndroidManifest.xml') diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 2bc2217f..f91ccd83 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -28,7 +28,7 @@ -- cgit v1.2.3