5 Commits

Author SHA1 Message Date
Diego Lopes
1ad076b969 feat: Add reflect clock sample and enhance framebuffer handling
- Introduced a new Lua script `reflect_clock.lua` that displays a clock with a reflection effect.
- Updated `rdoc.cap` to use the new sample and modified the executable path for debugging.
- Enhanced `FrameBuffer` class to support dynamic depth-stencil formats, allowing for more flexible rendering options.
- Added a new enum `DepthStencilFormat` to manage different depth-stencil configurations.
- Updated OpenGL clear function to conditionally clear depth and stencil buffers based on their enabled state.
- Improved the `Effect` class to ensure proper texture updates for GStreamer textures.
- Adjusted the `GraphicsContext` to set the clip space to match NanoVG's coordinate system.
- Cleaned up texture loading functions by removing unnecessary comments and ensuring clarity.
2026-03-21 17:02:40 -04:00
Diego Lopes
6200b74e77 Add OpenGL 4.6 backend for NanoVG
This commit introduces a new header file `nanovg_gl46.h` that implements
the NanoVG rendering context using OpenGL 4.6. The new backend utilizes
Direct State Access (DSA) functions, immutable texture storage, and
explicit layout qualifiers. It includes definitions for creating and
deleting the rendering context, as well as functions for handling images
with OpenGL 4.6.
2026-03-21 14:00:59 -04:00
Diego Lopes
f60384c5c3 Enhance video texture handling and add release build configurations 2026-03-21 11:36:31 -04:00
Diego Lopes
52dc6fc757 Add GStreamer support for video textures and update related files
- Introduced GStreamerTexture class for handling video frames.
- Updated texture loading methods to include FromGStreamer.
- Modified effect handling to support GStreamer textures.
- Updated launch configuration and added new sample scripts.
2026-03-20 21:54:43 -04:00
Diego Lopes
e538df3673 Refactor code structure for improved readability and maintainability 2026-03-18 00:25:31 -04:00