From d48aac685ecd47a80e0752011a1d78bc86094947 Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 9 Feb 2026 11:39:54 +0100 Subject: Refactor Effect class to centralize common uniforms management Moved to Effect base class. Updated all subclasses to use the base member, removing redundant declarations and initializations. Cleaned up by removing redundant class definitions and including specific headers. Fixed a typo in DistortEffect constructor. --- src/gpu/effects/circle_mask_effect.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gpu/effects/circle_mask_effect.h') diff --git a/src/gpu/effects/circle_mask_effect.h b/src/gpu/effects/circle_mask_effect.h index bf9cdfb..2ddbb11 100644 --- a/src/gpu/effects/circle_mask_effect.h +++ b/src/gpu/effects/circle_mask_effect.h @@ -33,13 +33,11 @@ class CircleMaskEffect : public Effect { WGPURenderPipeline compute_pipeline_ = nullptr; WGPUBindGroup compute_bind_group_ = nullptr; - UniformBuffer compute_uniforms_; UniformBuffer compute_params_; WGPURenderPipeline render_pipeline_ = nullptr; WGPUBindGroup render_bind_group_ = nullptr; WGPUSampler mask_sampler_ = nullptr; - UniformBuffer render_uniforms_; }; #endif /* CIRCLE_MASK_EFFECT_H_ */ -- cgit v1.2.3