Roadmap: stages and order #75

Open
UnflavoredMeson/Primal_Plus_Plus
opened 2026-11-24 20:16:11 +00:00 by UnflavoredMeson · 0 comments
Owner

The order of the work. Each stage is a milestone; do its issues in this order. Each issue says why, what is decided (with the evidence in Docs/Reference/), what to read first, and when it is done. Issues marked optional can wait without blocking later stages.

The design behind this order: Plan-2026-11-24-primal-plus-plus-restart-design.

S0 Foundation

Build systems, style, lint, tests, CI and logging before any engine work.

  • #1 Repository conventions: preferences, CLAUDE.md, headers, formatting
  • #2 CMake build for Linux next to MSBuild, warnings as errors, pinned downloads
  • #3 clang-tidy at zero warnings, no C-style casts, Windows compile databases
  • #4 Self-contained headers and no include cycles
  • #5 Unit tests with doctest
  • #6 Logging through primal::log
  • #7 CI on Forgejo Actions for Linux and Windows
  • #8 Windows VM for build and test checks
  • #9 Freeze the WPF editor

S1 Platform and engine shape

Linux platform layer, the engine as one shared library, math, layers.

  • #10 Platform detection and the Linux platform layer (SDL3)
  • #11 The engine as one shared library
  • #12 Math behind math:: with the engine's own storage types
  • #13 Layers, the game API boundary and the error-handling rules
  • #14 utl::free_list with stable storage
  • #15 Display scale and HiDPI on both platforms

S2 Core runtime

The job system and the frame phases.

  • #16 Job system module primal.jobs
  • #17 Frame phases primal.frame and queued entity changes
  • #18 Job system: spin before sleeping (measured)

S3 Entities and reflection

The ECS, transforms, the reflection generator, game scripts, render components.

  • #19 Archetype ECS
  • #20 Transforms as components with a hierarchy
  • #21 Reflection generator PrimalReflectGen
  • #22 Game scripts and the game library ABI
  • #23 Render components

S4 Shaders

Shader compilation at build time, one source of truth, shader packs, hot reload.

  • #24 ShaderCompilerTool at build time
  • #25 Single sources for shader constants, bindings and layouts
  • #26 Shader packs for material shaders and variants
  • #27 Shader hot reload

S5 Content tools

ContentTools on both OSes and a command-line importer.

  • #28 ContentTools on both OSes
  • #29 PrimalImport command-line importer

S6 Renderer

Shared renderer modules, the Vulkan backend, D3D12 on the same modules, graphics tests.

  • #30 Shared renderer modules, D3D12 refit onto them
  • #31 Vulkan device, loader, memory and swapchain
  • #32 Vulkan content, uploads and descriptors
  • #33 Gpass on both backends, one frame for every surface
  • #34 Lighting, tiled light culling and post-processing on both backends
  • #35 Parallel preparation and command recording
  • #36 GraphicsTests on both backends, debug names and markers
  • #37 UI pass, offscreen surfaces and readback
  • #38 Retire EngineDLL; the shader compiler as a library

S7 Editor shell

The C++ editor on Dear ImGui: shell, viewport, project files.

  • #39 Dear ImGui in the engine
  • #40 The ui:: widget layer and the theme
  • #41 The editor shell: layout, log, project browser, viewport
  • #42 Project, scene and prefab files as JSON

S8 Actors and editing

Actors, parts, behaviors, prefabs and editing them in the editor.

  • #43 Actor runtime: actors, parts, behaviors
  • #44 The engine's parts: mesh, lights, camera
  • #45 Actor reflection and spawning by name
  • #46 Outliner, details, gizmos, undo and redo
  • #47 Prefabs
  • #48 game.bin: one format for a built game's scenes
  • #49 Ambient light actors
  • #50 Actor messaging: mailboxes and events

S9 Content in the editor

Content browser, import, asset editors, content in built games.

  • #51 Content browser and import in the editor
  • #52 Meshes and materials in built games
  • #53 Geometry, texture and material editors
  • #54 glTF 2.0 import with fastgltf
  • #55 Replace DirectXTex's BC7/BC6H encoders

S10 Game code

Building, loading and running game code from the editor.

  • #56 Loading the game library in the editor
  • #57 Build service, toolchain detection and New Class
  • #58 Run the game and IDE integration
  • #59 Game code tests
  • #60 Game-defined log categories

S11 Ship

Packaging the editor, exporting games, retiring the WPF editor.

  • #61 Packaging the editor
  • #62 Game export and the monolithic build
  • #63 Parity review and deleting the WPF editor

S12 Later

Optional work, each with the condition that makes it worth doing.

  • #64 Render graph
  • #65 Thin RHI
  • #66 Pipeline caches on disk
  • #67 Asynchronous uploads on a transfer queue
  • #68 Game UI on the UI pass
  • #69 User editor extensions
  • #70 Verify HDR output on Linux with KDE
  • #71 Graphics tests compare frames with reference images
  • #72 The real asset scene in CI
  • #73 Graphics tests on Wayland in CI
  • #74 Graphics tests with GPU-assisted validation
The order of the work. Each stage is a milestone; do its issues in this order. Each issue says why, what is decided (with the evidence in `Docs/Reference/`), what to read first, and when it is done. Issues marked `optional` can wait without blocking later stages. The design behind this order: [Plan-2026-11-24-primal-plus-plus-restart-design](https://forgejo.unflavoredmeson.com/UnflavoredMeson/Primal_Plus_Plus/wiki/Plan-2026-11-24-primal-plus-plus-restart-design). ## S0 Foundation Build systems, style, lint, tests, CI and logging before any engine work. - [x] #1 Repository conventions: preferences, CLAUDE.md, headers, formatting - [ ] #2 CMake build for Linux next to MSBuild, warnings as errors, pinned downloads - [ ] #3 clang-tidy at zero warnings, no C-style casts, Windows compile databases - [ ] #4 Self-contained headers and no include cycles - [ ] #5 Unit tests with doctest - [ ] #6 Logging through primal::log - [ ] #7 CI on Forgejo Actions for Linux and Windows - [ ] #8 Windows VM for build and test checks - [ ] #9 Freeze the WPF editor ## S1 Platform and engine shape Linux platform layer, the engine as one shared library, math, layers. - [ ] #10 Platform detection and the Linux platform layer (SDL3) - [ ] #11 The engine as one shared library - [ ] #12 Math behind math:: with the engine's own storage types - [ ] #13 Layers, the game API boundary and the error-handling rules - [ ] #14 utl::free_list with stable storage - [ ] #15 Display scale and HiDPI on both platforms ## S2 Core runtime The job system and the frame phases. - [ ] #16 Job system module primal.jobs - [ ] #17 Frame phases primal.frame and queued entity changes - [ ] #18 Job system: spin before sleeping (measured) ## S3 Entities and reflection The ECS, transforms, the reflection generator, game scripts, render components. - [ ] #19 Archetype ECS - [ ] #20 Transforms as components with a hierarchy - [ ] #21 Reflection generator PrimalReflectGen - [ ] #22 Game scripts and the game library ABI - [ ] #23 Render components ## S4 Shaders Shader compilation at build time, one source of truth, shader packs, hot reload. - [ ] #24 ShaderCompilerTool at build time - [ ] #25 Single sources for shader constants, bindings and layouts - [ ] #26 Shader packs for material shaders and variants - [ ] #27 Shader hot reload ## S5 Content tools ContentTools on both OSes and a command-line importer. - [ ] #28 ContentTools on both OSes - [ ] #29 PrimalImport command-line importer ## S6 Renderer Shared renderer modules, the Vulkan backend, D3D12 on the same modules, graphics tests. - [ ] #30 Shared renderer modules, D3D12 refit onto them - [ ] #31 Vulkan device, loader, memory and swapchain - [ ] #32 Vulkan content, uploads and descriptors - [ ] #33 Gpass on both backends, one frame for every surface - [ ] #34 Lighting, tiled light culling and post-processing on both backends - [ ] #35 Parallel preparation and command recording - [ ] #36 GraphicsTests on both backends, debug names and markers - [ ] #37 UI pass, offscreen surfaces and readback - [ ] #38 Retire EngineDLL; the shader compiler as a library ## S7 Editor shell The C++ editor on Dear ImGui: shell, viewport, project files. - [ ] #39 Dear ImGui in the engine - [ ] #40 The ui:: widget layer and the theme - [ ] #41 The editor shell: layout, log, project browser, viewport - [ ] #42 Project, scene and prefab files as JSON ## S8 Actors and editing Actors, parts, behaviors, prefabs and editing them in the editor. - [ ] #43 Actor runtime: actors, parts, behaviors - [ ] #44 The engine's parts: mesh, lights, camera - [ ] #45 Actor reflection and spawning by name - [ ] #46 Outliner, details, gizmos, undo and redo - [ ] #47 Prefabs - [ ] #48 game.bin: one format for a built game's scenes - [ ] #49 Ambient light actors - [ ] #50 Actor messaging: mailboxes and events ## S9 Content in the editor Content browser, import, asset editors, content in built games. - [ ] #51 Content browser and import in the editor - [ ] #52 Meshes and materials in built games - [ ] #53 Geometry, texture and material editors - [ ] #54 glTF 2.0 import with fastgltf - [ ] #55 Replace DirectXTex's BC7/BC6H encoders ## S10 Game code Building, loading and running game code from the editor. - [ ] #56 Loading the game library in the editor - [ ] #57 Build service, toolchain detection and New Class - [ ] #58 Run the game and IDE integration - [ ] #59 Game code tests - [ ] #60 Game-defined log categories ## S11 Ship Packaging the editor, exporting games, retiring the WPF editor. - [ ] #61 Packaging the editor - [ ] #62 Game export and the monolithic build - [ ] #63 Parity review and deleting the WPF editor ## S12 Later Optional work, each with the condition that makes it worth doing. - [ ] #64 Render graph - [ ] #65 Thin RHI - [ ] #66 Pipeline caches on disk - [ ] #67 Asynchronous uploads on a transfer queue - [ ] #68 Game UI on the UI pass - [ ] #69 User editor extensions - [ ] #70 Verify HDR output on Linux with KDE - [ ] #71 Graphics tests compare frames with reference images - [ ] #72 The real asset scene in CI - [ ] #73 Graphics tests on Wayland in CI - [ ] #74 Graphics tests with GPU-assisted validation
Sign in to join this conversation.
No assignees
No project
No milestone
Dependencies

No dependencies set

Notifications
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
UnflavoredMeson/Primal_Plus_Plus#75
No description provided.