aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
2024-01-17Fix reading overlay events from the wrong variableMon ouïe
Would cause some events to be missed and other to be processed when they should not have been.
2023-12-01Add --overlay-width optiondec05eba
2023-12-01Add --overlay-mouse option as a counterpart to --no-overlay-mouseMon ouïe
2023-12-01Add description for the overlay-related command line optionsMon ouïe
2023-12-01Store uniform location for overlay rendering codeMon ouïe
2023-12-01Moved overlay presentation code to a separate functionMon ouïe
2023-12-01Moved code to set the overlay icon to a separate functionMon ouïe
2023-12-01Move code to update the overlay title to a separate functionMon ouïe
2023-12-01Delete VideoBuffer on shutdownMon ouïe
2023-12-01Whitespace fixMon ouïe
2023-12-01Add docstring for BInitOverlayMon ouïe
2023-12-01Remove dummy overlay iconMon ouïe
2023-12-01Fix indentation of the new overlay codeMon ouïe
2023-12-01Allow scrubbing and pausing the video in the VR overlayMon ouïe
2023-12-01Allow stereo 3D content to play in overlay modeMon ouïe
2023-12-01Add a command line flag to disable mouse controls for VR overlaysMon ouïe
2023-12-01Use the application icon as the icon of the SteamVR overlayMon ouïe
This seems to work, although SteamVR is currently a bit buggy and will often show the icon of the previous overlay that used the same overlay key which makes debugging confusing.
2023-12-01Update overlay name to match window titleMon ouïe
For now the window title is only updated on resize to avoid making too many requests. Maybe it would be nice to check every few seconds for windows that get renamed frequently.
2023-12-01Allow SteamVR to send scrolling events to the windowMon ouïe
No smooth scrolling for now because that would require a lot of boilerplate code to simulate XInput2 events, but the discrete events that are being sent seem to scroll at an adequate rate for now.
2023-11-30Allow SteamVR to send mouse button presses to the windowMon ouïe
2023-11-30Allow SteamVR to send mouse move events to the windowMon ouïe
2023-11-30Allow VR keyboard overlay to type into the tracked windowMon ouïe
This adds a new dependency — xdo — but I do not feel too bad about requiring it at compile time, since the readme already recommends using xdotool to select a window from the command line.
2023-11-30Add command line option to chose the VR overlay keyMon ouïe
2023-11-30Allow vr-video-player to run as a SteamVR overlayMon ouïe
2023-11-25Add --mpv-profile option, force libmpv (fixes custom system profile option)dec05eba
2023-09-25Properly exit on mpv video finished or on signaldec05eba
2023-09-23Mention Esc to close the applicationdec05eba
2023-09-21Dont show cursor when playing videodec05eba
2023-09-20Added class `VideoBuffers` as a container for multi-buffering Reworked ↵Phil
`mpv_thread` to use `VideoBuffers` to avoid bliting the whole video frame. Updated `take_render_update()` and `set_render_update()` to use a `conditional_variable` - This allows `mpv_thread` to block when no new frame is available
2023-04-23Link to math and pthreaddec05eba
2023-04-05Disable vblankdec05eba
2023-04-05try vblankdec05eba
2022-12-20Fix window texture deinitdec05eba
2022-12-08Fix compile: readd countofdec05eba
2022-10-29Update info about x11dec05eba
2022-10-22Add a config file to store position/rotation/zoom and use those the next ↵dec05eba
time vr-video-player starts
2022-10-12Add --use-system-mpv-configdec05eba
2022-10-08fix exampledec05eba
2022-10-02mpv thread sleep when not rendering framedec05eba
2022-10-02Use mpv in a separate thread (and gl context) to fix stutteringdec05eba
2022-10-02Do not use seams hack when using mpvdec05eba
2022-10-02Add mpv optiondec05eba
2022-09-25Revert "Revert "Revert "Use expose instead of visibility event"""dec05eba
This reverts commit 8e98991dd273f54575050db82434d652af8afe4b.
2022-07-29Revert "Revert "Use expose instead of visibility event""dec05eba
This reverts commit cc58d759a4c5ffe260d63afec7df9b26f1e8fb73.
2022-07-25Revert "Use expose instead of visibility event"dec05eba
This reverts commit a260f37c665df5d2fec5c0e440b54199134cfead.
2022-07-18Use expose instead of visibility eventdec05eba
2022-07-17Readd bspwm (and i3) fix when changing workspacedec05eba
2022-05-16Remove restriction on free camera option (allow for sphere modes)dec05eba
2022-04-22Add --reduce-flicker option to reduce flickering for textdec05eba
2022-04-13Temp: revert bspwm fix because of flickeringdec05eba