diff options
| author | Po Lu | 2024-01-26 11:24:51 +0800 |
|---|---|---|
| committer | Po Lu | 2024-01-26 11:24:51 +0800 |
| commit | 16831e290ed29f5f70dfe144ec63c583527485e8 (patch) | |
| tree | eecc1f3de356aa04a82f4687d7dac4303282ea77 /java/res | |
| parent | 65829b27ca4898ff0905a8124980243977a1382f (diff) | |
| download | emacs-16831e290ed29f5f70dfe144ec63c583527485e8.tar.gz emacs-16831e290ed29f5f70dfe144ec63c583527485e8.zip | |
Avert race condition between window attachment and buffer swap
* java/org/gnu/emacs/EmacsView.java (swapBuffers): Synchronize
such that code cannot execute between the bitmap's being loaded
and being transferred to surfaceView.
(onDetachedFromWindow): Recycle bitmap after the surface view is
reset.
* java/org/gnu/emacs/EmacsWindow.java (recreateActivity):
* src/android.c (android_init_emacs_window)
(android_recreate_activity):
* src/androidfns.c (Fandroid_recreate_activity)
(syms_of_androidfns): New functions for debugging window
attachment.
* src/androidgui.h: Update prototypes.
Diffstat (limited to 'java/res')
0 files changed, 0 insertions, 0 deletions