News for hackers. Stuff that matters.
Re:Real-Time Music Visualization on the iPhone GPU by taylodl on Thursday June 01, 2017 @06:33AM (#14459186)
I'd be interested in seeing the power load of these visualizations - are they a battery drainer?
Re:Real-Time Music Visualization on the iPhone GPU by birslip on Thursday June 01, 2017 @08:11AM (#14459583)
There is definitely an impact on the battery. The FFT part is well optimised (thanks to the Accelerate framework). What is costly is mainly the shader... and it really depends on the shader. A very simple shader is usually less than 5% of the GPU usage (according the Xcode Instruments, and on a recent iPhone). However if you do a lot in your shader it's going to be much more costly.