shader_debugger 1.1.0
shader_debugger: ^1.1.0 copied to clipboard
Debug-only runtime for the Flutter shader debugger. It records fragment shader uniforms and draws probe shaders for the Shader Debugger DevTools extension.
1.1.0 #
- iOS: verified end to end on the iOS simulator (Impeller, Metal): heatmaps, exact 32-bit float pixel reads, uniform overrides and hot restart.
- Select pixel mode works with touch: a finger shows the pixel under it, with its coordinates above the finger, and picks it when it lifts, so a drag can aim. A mouse also picks where its button is released.
- The select mode banner says "tap" on iOS and Android, wraps the shader's name onto a second line instead of cutting it off, and stays clear of notches and the home indicator.
- Windows: the Shader Debugger tab shows shaders checked out with CRLF line
endings without a stray
\rat the end of every line.
1.0.1 #
- Fix: the Shader Debugger tab's side panel failed to build inside DevTools, whose theme aligns tab bars to the start, which only scrollable tab bars allow. The extension's tests now run under DevTools' own theme.
- The example's probe is the placeholder again, not a generated probe.
- New README with recorded GIFs and screenshots, a quick start and platform notes. The example app is a gallery of four shaders, each with a hint on what to try.
1.0.0 #
First release. Verified end to end on macOS with Impeller; other platforms are untested so far.
DebugShader: wraps a fragment shader, records its uniforms by name, and draws the probe while a heatmap is shown. Inert in profile and release.ShaderDebugger: theext.shader_debugger.*service extensions for the DevTools extension:- heatmaps of any value at any statement;
- exact pixel reads (32-bit floats on Impeller), with pixel select mode, an overlay in the app modeled on the widget inspector's select mode;
- uniform overrides, applied to the shader and the probe until cleared.
- The Shader Debugger DevTools extension, built into
extension/devtools/.