- 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.
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug live-wallpaper",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/debug/live-wallpaper",
|
|
"args": [
|
|
"${workspaceFolder}/samples/reflect_clock.lua"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Release live-wallpaper",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/release/live-wallpaper",
|
|
"args": [
|
|
"${workspaceFolder}/samples/reflect_clock.lua"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |