summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index a6dbd339..45ed28dd 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -390,6 +390,12 @@ class CHyprOpenGLImpl {
void initMissingAssetTexture();
void requestBackgroundResource();
+ // for the final shader
+ std::array<CTimer, POINTER_PRESSED_HISTORY_LENGTH> m_pressedHistoryTimers = {};
+ std::array<Vector2D, POINTER_PRESSED_HISTORY_LENGTH> m_pressedHistoryPositions = {};
+ GLint m_pressedHistoryKilled = 0;
+ GLint m_pressedHistoryTouched = 0;
+
//
std::optional<std::vector<uint64_t>> getModsForFormat(EGLint format);