These changes replace some GPU->CPU and CPU->GPU copies with on-GPU copies and conversions, lowering the overhead of the spout filter and hopefully addressing #42 . In my test setup the render time went from around 5.5ms to 0.3ms with two spout filters active.
I've fixed the issues I found in my own limited testing, but others may remain. There may also be further improvements possible to the rendering.
Anecdotally, this might also resolve a crash on exit when using the spout filter, although I can't reproduce it 100% on master.
These changes replace some GPU->CPU and CPU->GPU copies with on-GPU copies and conversions, lowering the overhead of the spout filter and hopefully addressing #42 . In my test setup the render time went from around 5.5ms to 0.3ms with two spout filters active.
I've fixed the issues I found in my own limited testing, but others may remain. There may also be further improvements possible to the rendering.
Anecdotally, this might also resolve a crash on exit when using the spout filter, although I can't reproduce it 100% on
master
.