Closed FrankGoyens closed 1 month ago
This approach switches between a cached and an owned (uncached) renderbuffer. So far only implemented for RenderSystem_GL which is easier if some changes have to be made, since GL3Plus and GLES2 are very similar in this regard. So GL3Plus and GLES2 would be added later in this Pull Request if GL implementation is OK.
looks good to me. However, I would directly implement this in the common classes, instead of adding GL3+ & GLES2 later
Thanks for the help, have a nice weekend
A shared renderbuffer might contain data from other FBO's, this is fine as long as all viewports have clearEveryFrame=true. When any viewport has clearEveryFrame=false, data would get unintentionally combined.
This fixes #3158