summaryrefslogtreecommitdiff
path: root/src/render/pass/Pass.hpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2025-01-01 17:26:05 +0100
committervaxerski <vaxry@vaxry.net>2025-01-01 17:26:05 +0100
commitd64ac472027b9bcd6eefb4c9e86f85311769f7fa (patch)
treed27448166f3d9c89581201e51a580b3c426cd0f5 /src/render/pass/Pass.hpp
parent4e93b2def5f00f944abbd63a8258ee18bd99ff54 (diff)
pass: improve pass debugging
Diffstat (limited to 'src/render/pass/Pass.hpp')
-rw-r--r--src/render/pass/Pass.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render/pass/Pass.hpp b/src/render/pass/Pass.hpp
index 6fe6938f..5d7d3bb3 100644
--- a/src/render/pass/Pass.hpp
+++ b/src/render/pass/Pass.hpp
@@ -4,6 +4,7 @@
#include "PassElement.hpp"
class CGradientValueData;
+class CTexture;
class CRenderPass {
public:
@@ -33,6 +34,12 @@ class CRenderPass {
void simplify();
float oneBlurRadius();
+ void renderDebugData();
+
+ struct {
+ bool present = false;
+ SP<CTexture> keyboardFocusText, pointerFocusText, lastWindowText;
+ } debugData;
friend class CHyprOpenGLImpl;
};