Disable hardware acceleration on Android
It serves no purpose and causes tearing. Uploading the bitmap to the GPU takes about as long as it does to incrementally update the surface in software. * java/AndroidManifest.xml.in: Disable hardware acceleration. * java/org/gnu/emacs/EmacsActivity.java (EmacsActivity): Make lastClosedMenu static. * java/org/gnu/emacs/EmacsDialog.java (toAlertDialog): Enable hardware acceleration within alert dialogs. * java/org/gnu/emacs/EmacsSurfaceView.java (onDraw): Describe why hardware acceleration is disabled. * java/org/gnu/emacs/EmacsWindow.java (run): Remove redundant call.
This commit is contained in:
@@ -1377,7 +1377,7 @@ public final class EmacsWindow extends EmacsHandleObject
|
||||
|
||||
if (tem != null)
|
||||
{
|
||||
activity = (EmacsActivity) getAttachedConsumer ();
|
||||
activity = (EmacsActivity) tem;
|
||||
activity.syncFullscreenWith (EmacsWindow.this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user