DescriptionGetVSyncParameters only once every 5 seconds on Linux
Some Linux drivers implement the GLX_SGI_video_sync
extension in a way that eats a ton of CPU resources.
Only call it periodically to reduce CPU usage.
BUG=373489
Committed: https://crrev.com/60cf26c22bf0bb90fa6dbbdef5cb79fe7c305ecb
Cr-Commit-Position: refs/heads/master@{#294483}
Patch Set 1 #
Total comments: 4
Patch Set 2 : reduce ifdefs #Patch Set 3 : remove whitespace edit #Messages
Total messages: 10 (2 generated)
|