The main motivation behind this change is to unify render target representation across opengl and software renderers and avoid accessing the render backend directory in order to get the render target.
This is in preparation to using multiple outputlayers per output
It's needed to make repaint scheduling in render layers simple.