BradyBrenot / huestacean

Philips Hue control app for desktop with screen syncing. C++ with Qt Quick GUI.
http://huestacean.com
Apache License 2.0
566 stars 54 forks source link

Improve macOS capture performance #62

Closed BradyBrenot closed 6 years ago

BradyBrenot commented 6 years ago

screen_capture_lite is using CGDisplayCreateImage, which does not appear to be intended for repeated capture of the screen but rather for one-off screen grabs. It's killing the OS; WindowServer spikes up to 90%+ CPU use and everything slows down.

Better methods:

BradyBrenot commented 6 years ago

Calling this until I get reports that it's still crap on modern Macs