Skip to content

Fix static method proxying in trace mode, support CGL/GLX/WGL context bindings#46

Open
bondolo wants to merge 2 commits into
LWJGLX:mainfrom
bondolo:proxy-static
Open

Fix static method proxying in trace mode, support CGL/GLX/WGL context bindings#46
bondolo wants to merge 2 commits into
LWJGLX:mainfrom
bondolo:proxy-static

Conversation

@bondolo
Copy link
Copy Markdown
Contributor

@bondolo bondolo commented May 30, 2026

fixes two issues.

bondolo added 2 commits May 30, 2026 16:25
Only proxy static method references (H_INVOKESTATIC), and generate fallback overloads with original signatures to support linkage when TRACE is enabled.
- Intercept GLX, WGL, and CGL context make-current calls to register thread-local context bindings for non-GLFW/SDL environments.
- If capability creation is triggered on an untracked active context initialize a fallback on the current thread and log a warning with a stacktrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant