Detailed Roadmap

What has shipped, what is genuinely incomplete, and what nobody has started  ·  audited against CNA snapshot 3b43bd86 (27 October 2026)

⚠

CNA is a long-term open-source project. There are no fixed release dates. Progress is incremental. This roadmap describes goals and current priorities, not commitments.

Current state

0.1.0 is CNA's latest release (10 October 2026, tag v0.1.0), after the first tagged pre-release 0.1.0-alpha.1 (1bb2145d, 20 August 2026). This roadmap is audited against the development snapshot 3b43bd86 on the next branch, 948 commits after the release; the snapshot still reports 0.1.0 and is not a release (see Releases & Versioning). At this snapshot CNA represents all 331 public XNA 4.0 runtime types and 3,627 of 3,627 documented runtime members (representation, not behavior; Framework.Design converters are an opt-in module), exposes 10 renderer identities across 8 implementation families (alpha.1 had 50 across 46, later curated), and has 900 C++ test sources with 11,927 statically discoverable GoogleTest-family definitions (alpha.1: 568 and 8,263). CNA’s own handoff states that no new renderers, asset formats or subsystems are planned. Those are source-inventory facts, not a universal pass count; APIs may change before 1.0.

Remaining work is therefore depth, not breadth. The list below is drawn from an audit of the source tree, not from a wish list.

Shipped

Renderers — 10 identities, 8 families

The default mode selects one with CNA_GRAPHICS_RENDERER. An opt-in CNA_GRAPHICS_RENDERERS list links several compatible families and selects one before the first device through GraphicsRendererSelection; fallback is explicit and the choice latches. The table below is representative, not the full inventory — use the renderer reference for all 10. The state column follows CNA's own declared maturity classification (Production, Supported, Experimental), which is a classification, not a measurement.

RendererStateNotes
EasyGLProduction (WEBGL2: Supported)One implementation behind OPENGLES3, OPENGL33 and WEBGL2, with the stock effects, lighting, anisotropy, fog and context-loss recovery, MRT, occlusion queries, 3D textures, multi-stream input, instancing, PBR, image-based lighting and shadow sampling. OPENGLES3 is the default on Linux and Android.
DIRECTX9ProductionWindows-only SM2/SM3 path with device-lost recovery, capability-validated MRT, native texture formats and PBR with punctual lights and shadow sampling; the renderer the 39-scene real-XNA oracle corpus is diffed against (recorded at tolerance 0 under Wine + DXVK on Linux; not a CI gate).
SDL_GPUSupportedCNA’s modern native path and the default on Windows, macOS and iOS: a renderer on SDL3's GPU API (SPIR-V; SDL selects its Vulkan, Direct3D 12 or Metal driver, the last two through SDL_shadercross) with stock effects, stencil, MSAA resolve, MRT, instancing, base-instance drawing, float targets, PBR, shadow sampling and IBL. Qualified on Linux and under Wine only.
SoftwareExperimentalCPU rasterizer that owns its framebuffer; no window or GPU library. MSAA, MRT (up to four), occlusion, instancing, wireframe, 3D texture storage, float/half targets, PBR with image-based lighting and shadow reception; opt-in compiled effects; a surface presenter on CNA_PLATFORM=TERMINAL and on iOS. No custom ShaderEffect execution.
FNA3DExperimentalAdapter over the FNA3D C library (FNA3D chooses its SDL_GPU, Direct3D 11 or OpenGL driver at run time); executes compiled D3D9 Effect Framework binaries (always on) but no source ShaderEffect; PBR, image-based lighting and stock-effect shadows through its own shaders.
WebGPUSupportedNo longer backbuffer-only: MRT, occlusion queries, wireframe, multi-stream input, instancing, probed MSAA and float render targets, PBR, IBL and shadow sampling. Runs natively through wgpu-native and in the browser through Emscripten; declared Supported on 17 October 2026, verified on Linux x86_64 and headless Chrome only.
HeadlessTest harnessDeliberately renders nothing; reading the back buffer (GraphicsDevice::GetBackBufferData) throws NotSupportedException after argument validation instead of returning a made-up frame. Useful for fast game-logic CI.

Content and rendering features

  • The read-side XNB loader. ContentManager has 61 built-in readers (60 without native 128-bit integers), installed per family on first load, LZX decompression, shared-resource resolution, video, typed external references and a real compiled-effect EffectReader. Loading tries .xnb, then .cnb, then loose files. Custom readers can be registered explicitly, and a reflective builder reads declared-field models; there is still no runtime reflection in C++.
  • A build-time content pipeline. cna-content compiles source content through Importer → Processor → Writer into CNA's own .cnb container or into XNB (including LZX compression), builds .contentproj projects, writes processed sprite fonts, cube and volume textures, effects, sounds, songs and videos as XNB, and compiles .fx source through an external fxc-compatible compiler. See Content Pipeline and Command-Line Tools. Alpha.1's read-side-only limitation no longer holds.
  • Five XNA stock effects and SpriteEffect — BasicEffect, AlphaTestEffect, DualTextureEffect, EnvironmentMapEffect, SkinnedEffect and SpriteEffect (XNA keeps its sprite effect internal) — implemented natively in C++ rather than translated from bytecode.
  • PBR effects and the CNAEXT extensions: PbrEffect and SkinnedPbrEffect with shadow and image-based-lighting inputs; the opt-in CNA::Graphics module (CNA_CNAEXT=ON) holds retro post-processing effects and debug drawing; and a RendererCapabilityProfile API reports what a renderer can do (33 features, 8 limits, per-format usage, a text report).
  • Skeletal animation (CNAEXT): SkinningData on Model::Tag with AnimationPlayer, AnimationClipEXT, BoneTrackEXT and KeyframeEXT (the Avatar path has its own SkinnedModelEXT), plus MorphTargetEXT blend shapes.
  • cna_tool_gltf_to_cnj, an offline glTF 2.0 → .cnj Model/AnimationClip converter, built unconditionally. It is now one route among several: cna_tool_gltf_to_cnb and cna-content compile glTF straight to .cnb, and a runtime glTF loader exists too.

Platforms, audio and tools

  • Three platform implementations (CNA_PLATFORM): SDL3 (the default and the one windowing platform, which reaches Windows, X11 and Wayland through SDL’s video drivers and still hands out the native window handles), HEADLESS and TERMINAL. See Platforms and Windows, X11 and Wayland.
  • Native ALSA audio (CNA_AUDIO_PLATFORM=ALSA) with CNA's own mixer, beside SDL3 and NULL.
  • Diagnostics and the Inspector: an opt-in, renderer-independent metrics and profiler layer (CNA_DIAGNOSTICS=OFF|STATS|FULL) and an optional authenticated agent with a local browser UI (CNA_BUILD_INSPECTOR). Neither exists in alpha.1.
  • Link boundaries: a program links only the subsystems it calls, with new CNA_OPTIMIZE_FOR_SIZE and CNA_ENABLE_GAMER_SERVICES options and footprint gates that keep the boundaries (Link boundaries and binary size); and an opt-in installed C++ SDK (CNA_INSTALL_CXX).
  • The experimental C ABI at 0.50.0 (alpha.1: 0.7.0; the 0.1.0 release: 0.46.0): 60 headers and 3,212 routes whose boundaries are generated from a declarative specification, with a host-driven frame loop and an opt-in queue for calls from other threads. No CNA CI workflow builds the C library and its release gate reads “Not ready”. See Experimental C API.
  • C# through CNA.NET: the C# binding over the C ABI exposes the Microsoft.Xna.Framework API and runs original XNA 4.0 C# source on CNA (beta; qualified on Linux, in headless Chromium and on the x86_64 Android emulator, with local osx-arm64 evidence from a physical Mac mini M4 against an earlier CNA and no macOS CI leg; it admits C ABI 0.47.0, not this snapshot’s). See C# with CNA.NET.
  • Gamer Services: local offline profiles by default, plus an optional self-hosted server for accounts, social features, leaderboards and relayed online sessions. See Gamer Services & Avatars.
  • Web saves persist: StorageDevice and isolated storage are mounted on the browser’s IndexedDB.

Verification infrastructure

  • The XNA 4.0 oracle corpus — 39 scenes (256×256, HiDef) under tools/xna-oracle/ with reference images captured from a real XNA 4.0 runtime under Wine + DXVK on Linux. DIRECTX9 is recorded at zero difference at --tolerance 0 on all 39 (a manual run, not a CI gate; the last consolidated dated report in the repository covers 31 scenes; later per-scene notes record the rest). EasyGL and Software are gated on two line scenes (the EasyGL test fails on any pixel difference; the Software test only if a scene does not render); Software measured 18 of 39 byte-exact; FNA3D gates only that scenes render.
  • FNA differential testing against a real running FNA build, via tools/fna-reference/ and scripts/compare-fna-reference.py (a manual harness).
  • Cross-renderer parity fixtures — 32 fixtures on three renderer families (EasyGL, WebGPU and SDL_GPU); the oracle is each fixture's own assertions, not real XNA. A glTF conformance corpus of 148 assets (140 captured, 8 safely rejected) with renderer-owned goldens.
  • A CNAEXT purity check — non-XNA declarations are tagged CNAEXT, and a strict compile check turns them into [[deprecated]] warnings under -Werror. The check covers Microsoft::Devices and Sensors; it does not prove the whole XNA-only surface stands alone.

Remaining work

Every item below is a real, audited gap, ordered roughly by how much it costs a porting project.

ItemStateWhat it would take
Compiled effects beyond qualified builds Partial Compiled D3D9 Effect Framework binaries (.fxb) now execute on six implementation families (eight identities): FNA3D is always on, and five opt-in build options cover the EasyGL family, WebGPU, Software, DirectX 9 and SDL_GPU. A default configure still reports the capability false on 9 of the 10 identities. Open: the no-pixel HEADLESS and STUB do not run them. HLSL .fx source is not accepted at run time; at build time cna-content compiles it through an external fxc-compatible compiler, a route CNA's own notes say has not been checked against a genuine Microsoft fxc. MGFX and raw DXBC remain unsupported inputs.
Consistent surface-format coverage Renderer-dependent Six families classify Texture2D formats themselves (EasyGL, SDL_GPU, WebGPU, Software, FNA3D and DIRECTX9, each a different subset) and four of them render-target formats; renderers without a classifier (Headless and Stub, and every non-classifying family for render targets) accept Color only, and anything else throws. No renderer stores Alpha8 render targets natively. A truthful per-renderer contract and configuration tests remain.
ReflectiveReader for custom XNB types Partial C++ has no reflective discovery, but explicit custom-reader and type-creator registration works and a reflective reader builder (ReflectiveTypeReaderBuilder) reads types described by a declared-field model. User and closed-generic types must still be registered or described deliberately; the open item is XNA-style automatic discovery, which C++ cannot offer.
Windows verification (DIRECTX9 and SDL_GPU) Manual only CNA validates DIRECTX9 under Wine with DXVK and SDL_GPU’s Direct3D 12 driver under Wine with vkd3d-proton. What is missing is native evidence: the MSVC workflow (the DIRECTX9 suite and an SDL_GPU smoke leg) runs only on manual dispatch, CNA records the SDL_GPU leg as not yet run, and no current real-Windows hardware validation is recorded — while SDL_GPU is the Windows default and compiles ShaderEffect out there.
WebGPU maturity In progress Declared Supported since 17 October 2026 and run in CNA’s platform and glTF CI jobs on Linux; still verified on Linux x86_64 and in headless Chrome only, with its Windows, macOS and linux-aarch64 packages unverified. No workflow names OPENGL33 or FNA3D, and DIRECTX9 appears only in a manual Windows workflow.
Apple qualification of the default renderer Not re-qualified SDL_GPU on SDL’s Metal driver is the macOS and iOS default. CNA’s Apple campaign ran full test trees on a physical Mac mini M4 before the renderer set changed after the 0.1.0 release; since then CI builds macOS with SOFTWARE, a gating SDL_GPU smoke leg had not recorded a run at this snapshot, and SDL_GPU has never been built for iOS. Open: a re-run on Apple hardware, on-screen presentation, a physical iOS device, an Intel Mac, and SDL_GPU’s Apple gaps (no ShaderEffect, no occlusion queries).
Gamer Services beyond Linux Linux; macOS recorded Local profiles, the Guide, avatars and the optional CNA Gamer Services server (accounts, social features, leaderboards, relayed PlayerMatch and Ranked sessions) exist and are qualified on Linux; CNA’s Apple campaign records the client tests and the server suite on one physical Mac mini M4 (37 of 46 server tests passed, 9 skipped for prerequisites macOS lacks, none failed), where online play needs a WebSocket-capable libcurl such as Homebrew’s. Open: Windows, a real wide-area network, browser builds (where the service, relay and voice are absent), iOS (built without networking) and online guests; achievements and scores are client claims without anti-cheat, and no public server instance is operated. See Gamer Services & Avatars.
Media platform and codec coverage Platform-dependent The catalogue, playback and FFmpeg-backed video paths are implemented. The video types now exist on every target and throw NotSupportedException without a decoding backend; FFmpeg decoding is optional (CNA_ENABLE_VIDEO=OFF|AUTO|ON) and is never built for Windows, Emscripten, Android or iOS. On the SDL3 audio path SDL_mixer has no AAC decoder for .m4a/.aac.
Deeper tests for Media and Storage Uneven Storage has 70 statically discoverable GoogleTest-family definitions (alpha.1: five), most added by the repair campaigns for error, path and sharing contracts, and Media 362 (alpha.1: 286). Those counts still leave significant runtime and platform-specific behavior unverified.
Broader CI In progress This snapshot has 18 workflow files (25 jobs; 16 of the files trigger automatically on pushes and pull requests, and 22 of the jobs run that way), including Linux, Apple (macOS and iOS), Emscripten, a platform-implementation matrix (the SDL3 window suite on SDL’s x11 and wayland drivers, an SDL-free Headless + ALSA build and the CNA_ENABLE_SDL matrix), multi-renderer and six build-free C API gates. No workflow builds the C API library, the Windows lanes are manual, and there is no Android job. The inventory does not exhaust every renderer/driver/platform combination.
Truthful SupportsCapability() In progress The base returns false for multi-stream input, compiled effects and float/half-float render targets, delegates stencil and returns true for the remaining entries; the device derives several answers itself (compiled effects, float targets from the format classification, half-float filtering) and bounds MRT and Texture3D by the profile limits. DIRECTX9 is the only renderer that never overrides it. Several capability claims therefore remain permissive rather than verified; the RendererCapabilityProfile reports each answer as classified or unknown.
The C ABI release gate Not ready 633 in-scope public C++ declarations still lack C mappings in the generated inventory (453 more are recorded as having no C form); that is the one unmet criterion the committed report records. No CNA CI job builds the C library; CNA’s own development trees build and test it on Linux and under Wine; ABI 1.0 is a separate future decision. The C# binding CNA.NET admits exactly ABI 0.47.0, not this snapshot’s 0.50.0; the Common Lisp, Go, Java, Python, Ruby, Rust, Swift and TypeScript bindings are archived and will not follow new ABI versions. See Experimental C API.
Diagnostics and Inspector coverage Early The engine publishes frame, draw-call, texture-binding, sprite and audio-voice metrics and resource metadata. It publishes no GPU timings, input metrics or process-memory totals to Diagnostics, no renderer registers a diagnostics source or an Inspector preview provider, and no CI workflow configures either module. Native-Windows validation is CNA's own claim; macOS runtime validation is pending.
Window-system and content-pipeline verification In progress The SDL3 window-system suites run on virtual displays (a private Xvfb and a private headless Weston) and on GitHub’s Windows image, so they establish the platform contract and the native handles a renderer receives rather than behaviour on a physical desktop with real input devices, keyboard layouts and IMEs (see SDL3 platform internals). The content pipeline’s only Windows lane runs on one branch plus manual dispatch, and CNA ships no XMA audio encoder (asking for one reports it externally unavailable, and you can attach your own).

Toward a public stable release

The project is versioned and released 0.1.0, but it deliberately makes no 1.0 stability promise, and the development snapshot has not been given a new version. Reaching 1.0 plausibly requires:

  • A stable public API and explicit compatibility policy.
  • Clear renderer-qualified contracts for effects, formats and capabilities.
  • Reproducible test results for supported configurations rather than tree-wide counts alone.
  • Production evidence on the platforms CNA intends to support.
  • A build-verified, CI-gated C ABI with its release gate green — itself only the precondition for a separate ABI 1.0 decision.

Contributing to the roadmap

The highest-value contributions right now are the unglamorous ones:

  • Deepening Media and Storage runtime coverage.
  • Closing the named renderer gaps — qualifying SDL_GPU where it is the default (native Windows, Apple hardware, iOS) and filling its missing ShaderEffect and occlusion-query paths, physical-device evidence, automatic Windows coverage, and per-renderer surface-format contracts.
  • Making SupportsCapability() truthful, renderer by renderer.
  • Expanding automatic Windows and platform-combination coverage.
  • Building the C ABI in CI and mapping the 633 planned public C++ declarations that have no C route yet.
  • Wiring input metrics into Diagnostics, and shipping a renderer-side Inspector preview provider.
  • Porting games to CNA to expose API gaps that an audit cannot find.

Open issues and TODO markers in the source are the best starting points. See the GitHub repository (branch next holds the documented snapshot; main is the 0.1.0 release).