-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR reduces the CPU usage by setting Veldrid SDL2Window threading to false. We can do this because setting the threading to true only benefits in handling the Keyboard/Mouse events. Our keyboard/mouse events are already handled by the global mouse hook in a threaded way. Observation: CPU usage is reduced from 16% - 20% to 1% - 3%
- Loading branch information
Showing
1 changed file
with
41 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters