diff options
| author | Vaxry <vaxry@vaxry.net> | 2026-04-04 15:08:38 +0100 |
|---|---|---|
| committer | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-04 11:53:49 -0400 |
| commit | e40857fc8ac93961769f6ac3e5776ab9b5b5ad32 (patch) | |
| tree | c8c8481c564e72817933f28d5bc960b04420baff /src/render/pass/PassElement.hpp | |
| parent | 4f34bd4768df382e548b9a6aab036ec847b4ff4b (diff) | |
render/pass: optimize simplification and blur calculations
Diffstat (limited to 'src/render/pass/PassElement.hpp')
| -rw-r--r-- | src/render/pass/PassElement.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/pass/PassElement.hpp b/src/render/pass/PassElement.hpp index 9b939f11..a3715b2f 100644 --- a/src/render/pass/PassElement.hpp +++ b/src/render/pass/PassElement.hpp @@ -34,4 +34,8 @@ class IPassElement { virtual std::optional<CBox> boundingBox(); // in monitor-local logical coordinates virtual CRegion opaqueRegion(); // in monitor-local logical coordinates virtual bool disableSimplification(); + + // cached results, computed once per frame in CRenderPass::render() + bool needsLiveBlurCached = false; + bool needsPrecomputeBlurCached = false; }; |
