]> git.eshelyaron.com Git - emacs.git/commit
Improve workaround for partial texture updates on Android
authorPo Lu <luangruo@yahoo.com>
Thu, 13 Jul 2023 10:17:59 +0000 (18:17 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 13 Jul 2023 10:17:59 +0000 (18:17 +0800)
commitae9f1a075c3a5f5bd0425828b6144f97265d8794
tree4d22cbafc2915f5bd6fe9f2279a5316240337998
parent140755f2cfe6a39f643ab0a9ca2d81b0ed470ae7
Improve workaround for partial texture updates on Android

* java/AndroidManifest.xml.in:
* java/org/gnu/emacs/EmacsDialog.java (toAlertDialog): Don't
change hardware acceleration state.
* java/org/gnu/emacs/EmacsNative.java (notifyPixelsChanged): New
function.
* java/org/gnu/emacs/EmacsSurfaceView.java (EmacsSurfaceView):
New field `bitmapChanged'.
(copyToFrontBuffer): Signal that the bitmap has changed.
(onDraw): If the bitmap has changed, increment the generation
ID.
* src/android.c (JNICALL): Implement new function.
java/AndroidManifest.xml.in
java/org/gnu/emacs/EmacsDialog.java
java/org/gnu/emacs/EmacsNative.java
java/org/gnu/emacs/EmacsSurfaceView.java
src/android.c