app: fix and optimize context locking around refresh #1

Open
joejulian wants to merge 2 commits from fix/android-context-relock into main
Owner

Two-patch series for review before resending upstream:

  1. Lock explicitly before refreshing contexts and remove implicit Refresh locking from Darwin GL backends.
  2. Avoid relocking contexts every frame while preserving the lock-before-Refresh sequence and Android rebind behavior.

Verified with go test ./app.

Two-patch series for review before resending upstream: 1. Lock explicitly before refreshing contexts and remove implicit Refresh locking from Darwin GL backends. 2. Avoid relocking contexts every frame while preserving the lock-before-Refresh sequence and Android rebind behavior. Verified with `go test ./app`.
joejulian added 2 commits 2026-04-23 02:10:36 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/android-context-relock:fix/android-context-relock
git checkout fix/android-context-relock
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joejulian/gio-patched#1