summaryrefslogtreecommitdiff
path: root/src/gpu/effect_v2.h
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-16 14:32:59 +0100
committerskal <pascal.massimino@gmail.com>2026-02-16 14:32:59 +0100
commitb2ede3f0680edc894a54e28374cb87ab2690afa2 (patch)
tree69e0a8c04eb29be953b037eb98e0a9ac0f1b417a /src/gpu/effect_v2.h
parent0fd3c982247d05bacbd67db08c865ec67602437f (diff)
refactor: remove v2 versioning artifacts, establish Sequence as canonical system
Complete v1→v2 migration cleanup: rename 29 files (sequence_v2→sequence, effect_v2→effect, 14 effect files, 8 shaders, compiler, docs), update all class names and references across 54 files. Archive v1 timeline. System now uses standard naming with all versioning removed. 30/34 tests passing. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/gpu/effect_v2.h')
-rw-r--r--src/gpu/effect_v2.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/gpu/effect_v2.h b/src/gpu/effect_v2.h
deleted file mode 100644
index 0d4e18d..0000000
--- a/src/gpu/effect_v2.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// EffectV2: Base class for v2 effects with multi-input/multi-output support
-
-#pragma once
-
-#include "gpu/gpu.h"
-#include "gpu/sequence_v2.h"
-#include <string>
-#include <vector>
-
-class NodeRegistry;
-
-class EffectV2 {
- public:
- EffectV2(const GpuContext& ctx, const std::vector<std::string>& inputs,
- const std::vector<std::string>& outputs);
- virtual ~EffectV2() = default;
-
- // Optional: Declare temporary nodes (e.g., multi-pass intermediate buffers)
- virtual void declare_nodes(NodeRegistry& registry) {
- (void)registry;
- }
-
- // Render effect (multi-input/multi-output)
- virtual void render(WGPUCommandEncoder encoder,
- const UniformsSequenceParams& params,
- NodeRegistry& nodes) = 0;
-
- // Resize notification
- virtual void resize(int width, int height) {
- width_ = width;
- height_ = height;
- }
-
- const std::vector<std::string>& input_nodes() const {
- return input_nodes_;
- }
- const std::vector<std::string>& output_nodes() const {
- return output_nodes_;
- }
-
- protected:
- const GpuContext& ctx_;
- std::vector<std::string> input_nodes_;
- std::vector<std::string> output_nodes_;
- int width_ = 1280;
- int height_ = 720;
-};