CodySchrank / gSwitch

macOS menu bar app that allows control over the gpu on dual gpu macbooks
MIT License
887 stars 46 forks source link

Occasional GPU Restarts #18

Closed CodySchrank closed 6 years ago

CodySchrank commented 6 years ago

Display callback gets called way to many times and sometimes causes a gpu restart. Redesign display callback to use RxSwift observables and throttle the amount of "requests". Also a couple unnecessary calls to getGPUState.