Skip to content

12 rendering hardware interface rhi#46

Merged
LyeZinho merged 3 commits intomainfrom
12-rendering-hardware-interface-rhi
Apr 14, 2026
Merged

12 rendering hardware interface rhi#46
LyeZinho merged 3 commits intomainfrom
12-rendering-hardware-interface-rhi

Conversation

@LyeZinho
Copy link
Copy Markdown
Member

Item Status Branch Tests
Timer (RF2.1) ✅ MERGED 9-high-resolution-timer 31
GameLoop (RF2.7, RF2.8) ✅ MERGED 11-the-master-game-loop 27
Input System (RF2.9) ✅ MERGED 22-input-system 34 / 57 assertions
Debug Tools (RF2.10) ✅ MERGED 23-debug-tools 22 / 56 assertions
SDL3 Build + Install ✅ Done N/A N/A
RHI Implementation ✅ PUSHED 12-rendering-hardware-interface-rhi 41 / 102 assertions

…copy

- Add find_package(SDL3 REQUIRED CONFIG) to root CMakeLists.txt
- Link Caffeine library against SDL3::SDL3
- Add post-build SDL3 DLL copy for Windows test executable
…SDL_GPU (RF3.1, RF3.2)

- RenderDevice: GPU device management, swapchain handling, resource creation/destruction
- CommandBuffer: render pass recording, draw calls, resource binding, viewport/scissor
- Type system: TextureFormat, TextureUsage, BufferUsage, ShaderStage enums wrapping SDL_GPU
- Resource structs: Texture, Buffer, Shader, Pipeline as opaque handles
- DrawCommand: queued draw command with transform, tint, and sort key for batch renderer
- 41 tests with 102 assertions covering all types, defaults, and API contracts
@LyeZinho LyeZinho added this to the phase 3 milestone Apr 14, 2026
@LyeZinho LyeZinho self-assigned this Apr 14, 2026
@LyeZinho LyeZinho added documentation Improvements or additions to documentation enhancement New feature or request planned-implementation Implementations planned according with roadmap labels Apr 14, 2026
@LyeZinho LyeZinho linked an issue Apr 14, 2026 that may be closed by this pull request
4 tasks
SDL3 is only available on dev machines with local installs.
When SDL3 is not found, RHI sources and tests are excluded
from the build. Defines CF_HAS_SDL3=1 when available.
@LyeZinho LyeZinho merged commit 166c910 into main Apr 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request planned-implementation Implementations planned according with roadmap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rendering Hardware Interface (RHI)

1 participant