Pass QVariantMap as const reference.
This is Qt5-only, so we can use Q_DECL_OVERRIDE here.
This code is Qt5-only, so we drop remaining Qt4 code.
Tell the server when a client view of a QQ2 scene is visible.

This is allows us to skip some expensive steps for the offscreen rendering.