Skip to content

android: fix ANRs caused by SurfaceView#4087

Merged
ad-tra merged 1 commit intomasterfrom
android-anr
Jan 6, 2026
Merged

android: fix ANRs caused by SurfaceView#4087
ad-tra merged 1 commit intomasterfrom
android-anr

Conversation

@ad-tra
Copy link
Copy Markdown
Member

@ad-tra ad-tra commented Jan 6, 2026

  • we were drawing on the ui thread but you shouldn't do that with surface view.
  • I also made it such that screen rotations doesn't destroy the the surface
  • got rid of the weird egui texture invalidation business

@ad-tra ad-tra merged commit 102973b into master Jan 6, 2026
1 check passed
@ad-tra ad-tra deleted the android-anr branch January 6, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant