Repository navigation
v0.2.4 - Fix black frames + frame-pipeline instrumentation
Presentation fix + diagnostics release — resolves the "session runs but everything is black" symptom.
Fixed
- Black frames: swapchain images were released to the compositor without a
glFinish(), so the runtime could present texture contents before our GPU work completed. Rendering is now guaranteed complete before release. - Menu panel out of view: the world-locked quad used a blind fixed offset that could land behind/above the user depending on whether STAGE or LOCAL won. The panel now anchors once, 2.4 m in front of wherever the user faces at spawn (yaw-flattened), and never re-anchors — still world-locked, never VIEW-space. Corrected quad facing and texture V-flip.
New diagnostics
QuestDOOM logcat now reports: named session-state transitions (IDLE→…→FOCUSED), xrBeginSession result, xrWaitFrame/xrBeginFrame/xrEndFrame error codes, a frame heartbeat every 120 frames (frame #N shouldRender=…), submitted layer count, xrLocateViews failures/validity flags, panel placement pose, and render-mode switches (panel vs immersive).
If the compositor still shows black after this build, capture adb logcat -s QuestDOOM DoomCore — the logs now pinpoint where in the frame pipeline it stalls.
Install
adb install -r quest-doom-debug.apk
adb shell am start org.communitypoke.questdoom/android.app.NativeActivity