When using preserveDrawingBuffer for our context we need to take care of clearing the drawing buffer by our self. I use this technique in my app.
I read some article that says - setting this flag to false can get better performances.
In my app when setting to false, in some cases i need to take care of clearing the front buffer by myself because when no drawing is happening we can still see what was drawn before.
My question, is it worth now to turn my app upside down and covering all the cases in order to get better performances? Is it really so much improving ?
Is there any demo that shows the different in performances when this flag is true (and performing gl.clear(..)
) compares to false ?