Prepare Node hierarchy for ownership and hierarchy separation
- Update Node and subclass constructors to accept oup::control_block.
- Inherit Node from oup::enable_observer_from_this_sealed for safer observer management.
So issues with CachyOS. Some were in the system enforcing VSync. I can see the timing in the GPU wait and it goes to 0 and then goes up to 5 ms and switching back and forth. I tried to set __GL_SYNC_TO_VBLANK=0 system wide it is not helping. For some reason, nvidia-settings is missing the VSync check box. I have that on Pop!_OS.
Also, the right and middle buttons are swapped on my Wacom stylus somehow in my game, but not in the system. That is weird.
I run the game through Valgrind and Valgrind flagged some issues with the observable pointer, how I use it. I am suspecting my previous attempts to separate node graph and ownership failed because of the issue.
The input lag on CachyOS is killing me, I need to find the solution ASAP.