Skip to content

OpenDE Android v0.7.1-beta — Performance Update

Pre-release
Pre-release

Choose a tag to compare

@JMAccorsi JMAccorsi released this 02 Dec 03:57
· 1 commit to master since this release

OpenDE Android v0.7.1-beta — Performance Update

This pre-release focuses on CPU, renderer, and UnrealScript VM performance optimizations for Android (arm64-v8a), designed to keep 100% original visual fidelity while significantly boosting frame rates on low- and mid-range SoCs (tested on Rockchip RK3566 / Cortex-A55 / Mali-G52, improving the 01_NYC_UNATCOIsland dock walk benchmark from ~38.0 FPS to ~53.6 FPS).

What's New & Improved

  • Clang Profile-Guided Optimization (PGO): Release binaries are built with ThinLTO + PGO tuned on real Android gameplay traces.
  • Async Procedural Water & Fast Water Simulation: CPU WaterTexture updates now run asynchronously alongside World::tick(), eliminating frame-time spikes near water while keeping bit-for-bit identical output.
  • Renderer & Occlusion Culling Optimizations:
    • Compact OccNode BSP traversal with precomputed frustum plane absolutes, projection constants, and cache prefetches.
    • Fused single-pass SpanBuffer::testAndCoverPolygon, bspVisibilityCache, and actorOccludedBySpanTiles using OccNode.
    • Dedicated moverActorsVersion tracking and PF_Mirrored filtering in collectMoverMirrors (zero per-frame cost on maps without mirrored movers).
    • Early inFrustum filtering before actorLeaf in gatherActorCandidates, visible-node culling in drawDecal, insertion sort for small BSP range batches, and fewer GLCanvas scissor/alpha-test splits.
  • Simulation & Collision Overlap:
    • CollisionHash::sync overlapped with SDL_GL_SwapWindow on a worker thread.
    • Fast-skip for dormant actors and stationary/non-colliding collision entries, plus MeshDrawCache animation-invalidation fixes.
  • Bytecode-Guarded Native C++ Script Overrides (Mod-Safe):
    • Rewrote hot UnrealScript functions (ScriptedPawn.Patrolling.PickStartPoint, ScriptedPawn.CheckEnemyPresence, ScriptedPawn.LoudNoiseScore, DeusExDecoration.Tick, DeusExMover.Tick, Shadow.Tick, and ViewFlash) in native C++.
    • Each override checks the exact vanilla bytecode size + FNV-1a hash and automatically falls back to UnrealScript if a mod modifies that function.

Testing & Feedback Requested

Because this release touches BSP/span occlusion, decal clipping, water simulation, and Shadow.Tick, please test on your device (Adreno, Mali, PowerVR) and report any issues on GitHub Issues, especially:

  • Any missing/flickering geometry, mirror/floor Z-fighting (00_Intro.dx, 00_Training.dx), or water glitches
  • Shadow or decal alignment issues
  • Character/NPC animation or patrol behavior issues
  • FPS / frame-pacing feedback on your SoC

OTA Update Compatible: Signed with the standard OpenDE Android OTA key (SHA-256: f4386ba9642d015cc2d2bfaa2ebe76d682b9c068444e5008b0ad426b0118104f), so existing v0.5–v0.7-beta installs can update directly without uninstalling.