diff options
| author | Po Lu | 2023-07-13 12:05:50 +0800 |
|---|---|---|
| committer | Po Lu | 2023-07-13 12:05:50 +0800 |
| commit | 140755f2cfe6a39f643ab0a9ca2d81b0ed470ae7 (patch) | |
| tree | b55477c3af604e56e4797a8d9b711ed12f8b5fb7 /java/debug.sh | |
| parent | 4e2fda28edd3eb229c60576a215c3e4af5aa53e3 (diff) | |
| download | emacs-140755f2cfe6a39f643ab0a9ca2d81b0ed470ae7.tar.gz emacs-140755f2cfe6a39f643ab0a9ca2d81b0ed470ae7.zip | |
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.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions