Instead of uScreen->_fbo = UnityFBO::Ptr (new UnityFBO (geometry)); you can go uScreen->_fbo.reset(new UnityFBO(geometry));
Saves a little typing (and it is more efficient in behaviour),
UnityFBO::UnityFBO (CompRect geometry) should be UnityFBO::UnityFBO(CompRect const& geometry)
Avoids an extra copy.
« Back to merge proposal
Instead of >_fbo.reset( new UnityFBO( geometry) );
uScreen->_fbo = UnityFBO::Ptr (new UnityFBO (geometry));
you can go
uScreen-
Saves a little typing (and it is more efficient in behaviour),
UnityFBO: :UnityFBO (CompRect geometry) :UnityFBO( CompRect const& geometry)
should be
UnityFBO:
Avoids an extra copy.