Make it possible to disable partial update at runtime
This makes it possible to disable the partial updates and the swap buffers with damage at runtime.
I wanted to debug if one rendering artifact bug was caused by the partial update or not, and found it useful to be able to disable this at runtime.