8 Commits

Author SHA1 Message Date
27caa88ce9 Revert "Feat: Increase default change threshold to reduce flickering"
This reverts commit bff295502f2ae366ef6c8e039933e5c5154ed143.
2025-08-15 22:36:23 +02:00
bff295502f Feat: Increase default change threshold to reduce flickering
Addresses flickering issue by increasing _changeThreshold_m in hyperiongrabber.cpp from 100 to 5000. This filters out subtle pixel variations that caused unnecessary frame updates to WLED.
2025-08-15 22:34:00 +02:00
77059a24aa Refactor: Remove wled_test and update CMakeLists.txt 2025-08-15 21:58:22 +02:00
c45cba611d Feat: Integrate WledClient and update HyperionGrabber for direct WLED communication 2025-08-15 21:45:28 +02:00
4f8d53fedb refactor(grabber): Simplify frame scaling by removing OpenGL
Replaced the complex, low-level OpenGL pipeline in HyperionGrabber with a simple, high-level `QImage::scaled()` call.

This change significantly reduces code complexity and improves maintainability without sacrificing performance, as `QImage::scaled()` is highly optimized and often hardware-accelerated. The new implementation is more robust and easier to understand.

This resolves the following issues:
- Removes fragile, hard-to-debug OpenGL code.
- Eliminates potential bugs related to FBOs, shaders, and texture handling.
- Corrects the image data pipeline to ensure raw pixel data is processed consistently.
2025-08-15 00:41:07 +02:00
be1342393e Lessons Learned: Hyperion JSON API is JSON-RPC based, command structure, and specific handlers. 2025-08-15 00:11:29 +02:00
3dda269c4b Fix: Correct image orientation in Wayland grabber
Resolved the issue where captured images were appearing upside down or flipped.
Implemented a final vertical flip on the QImage after reading from the OpenGL
Framebuffer Object (FBO) to ensure correct orientation before sending to Hyperion.
This completes the basic hardware-accelerated scaling pipeline.
2025-08-14 22:19:15 +02:00
0471752613 Refactor: Transition to Wayland-only grabber, remove X11 code, and rename components for clarity. 2025-08-14 21:48:14 +02:00