Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upWinGDI: Lower cpu usage to ~0% #2304
Conversation
This comment has been minimized.
This comment has been minimized.
CataJenkins
commented
Aug 3, 2013
|
Build successful! |
This comment has been minimized.
This comment has been minimized.
|
Seems reasonable, a few waits in that busy loop, and the winmm library allows high-resolution timers. I guess there isn't a portable yield function? Can you outline what this winmm library is, a quick search didn't turn up anything notable, which is odd because usually MSDN articles bubble right to the top. |
This comment has been minimized.
This comment has been minimized.
|
[paste] winmm.lib is a module for the Windows Multimedia API, which contains low-level audio and joystick functions.[/paste] That, and timer functions. |
kevingranade
merged commit 406653b
into
CleverRaven:master
Aug 7, 2013
1942rob
deleted the
1942rob:wingdi-cpu-usage
branch
Aug 7, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
1942rob commentedAug 3, 2013
This should not have any performance hit on the gamespeed.