From 11204e1206f7f7ffeaa861c1a442a312e563d3ed Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 5 Nov 2026 10:46:03 -0300 Subject: effects out, the post chain: Crt, Bloom, Vignette, Grain, Shader and ShaderAnimation go with src/gui/Post.zig, src/ShaderBuild.zig (the run-time glslc spawn and its watched files), shaders/post/, post.vert, bloom-down and bloom-up and their prebuilt .spv, the window's scene texture and its post-chain-only redraw (level A), the disable_scene_effects tape site and Pardes.disableSceneEffects; EffectCode goes with src/effect_sources.zig, which only embedded the effects' sources (/virtual keeps src/); the corner-click test keeps its point without a chain, the window monkey loses its Bloom axis; macOS's post-processor (ScenePostprocessor.swift, crt.ci.metal, pardes_scene) is a change of its own Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/pardes.zig | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/pardes.zig') diff --git a/src/pardes.zig b/src/pardes.zig index db5c0c25..415424b3 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -603,13 +603,6 @@ test "startup config runs builtin lines in order and isolates bad lines" { }; } -test "a post chain keeps no core clock running: the shell animates it" { - const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true }); - defer p.deinit(); - try std.testing.expect(p.settings.post.set(.crt, "", true)); - try std.testing.expect(!p.animationActive()); -} - test "topbar hover highlights exactly the executable word" { const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 40, .rows = 12 }); defer p.deinit(); @@ -6759,14 +6752,6 @@ pub const Pardes = struct { look.cancelLookHover(p); } - /// A native post pass proved unavailable: the chain is emptied, which - /// DumpConfig then reports. - pub fn disableSceneEffects(p: *Pardes) void { - const taped = tape.enter(p, .disable_scene_effects); - defer tape.leave(p, taped); - p.settings.post.clear(); - } - /// The window's answer to a WindowOpacity: done, or `failure` says why /// not, `applied` the opacity it keeps. pub fn windowOpacityDone(p: *Pardes, applied: u8, failure: ?[]const u8) void { -- cgit v1.3