Commit Graph

2 Commits

Author SHA1 Message Date
5d9cd3ad30 chore: Add MIT License and fix Windows platform support
- Add MIT License file for open source release
- Update README.md to reference LICENSE file
- Fix test_bgfx_triangle.cpp: Add Windows platform support (_WIN32)
- Fix test_bgfx_sprites.cpp: Add Windows platform support (_WIN32)

These visual tests now support both Windows (wmi.info.win.window)
and Linux (wmi.info.x11.window) platforms.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-15 08:12:43 +07:00
4a30b1f149 feat(BgfxRenderer): Complete Phase 4 - ShaderManager integration
- Refactor ShaderManager to use RHI abstraction (no bgfx:: exposed)
- Implement Option E: inject ShaderHandle via pass constructors
- SpritePass/DebugPass now receive shader in constructor
- RenderPass::execute() takes IRHIDevice& for dynamic buffer updates
- SpritePass::execute() updates instance buffer from FramePacket
- Integrate ShaderManager lifecycle in BgfxRendererModule
- Add test_22_bgfx_sprites.cpp (visual test with SDL2)
- Add test_22_bgfx_sprites_headless.cpp (headless data structure test)
- Update PLAN_BGFX_RENDERER.md with Phase 4 completion and Phase 6.5

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 22:27:19 +08:00