function getCurrentRenderer(oControl) {
		var oMetadata = oControl.getMetadata();
		var bUsesInvisibleRenderer = (!oControl.getVisible() && oMetadata.getProperty("visible")._oParent.getName() == "sap.ui.core.Control");

		return bUsesInvisibleRenderer ? InvisibleRenderer : oMetadata.getRenderer();
	}
Returns the renderer that should be used for the provided control in its current state.

If the control is invisible and inherits its visible property from the sap.ui.core.Control
then returns the InvisibleRenderer otherwise the renderer of the provided control class.

@param {sap.ui.core.Control} oControl The <code>Control</code> instance
@returns {object} Either InvisibleRenderer or the renderer of the control class
@private