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.
This commit is contained in:
1675
external/glad/include/glad/gl.h
vendored
1675
external/glad/include/glad/gl.h
vendored
File diff suppressed because it is too large
Load Diff
821
external/glad/src/gl.c
vendored
821
external/glad/src/gl.c
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user