QRenderAspect::QRenderAspect(QObject *parent) : QAbstractAspect(*new QRenderAspectPrivate(Threaded), parent) { // Won't return until the private RenderThread in Renderer has been created // The Renderer is set to wait the surface with a wait condition // Threads modifying the Renderer should be synchronized using the Renderer's mutex registerBackendTypes(); }
/*! \internal */ QRenderAspect::QRenderAspect(QRenderAspectPrivate &dd, QObject *parent) : QAbstractAspect(dd, parent) { registerBackendTypes(); }
QRenderAspect::QRenderAspect(QRenderAspect::RenderType type, QObject *parent) : QAbstractAspect(*new QRenderAspectPrivate(type), parent) { registerBackendTypes(); }
/*! \internal */ QCollisionAspect::QCollisionAspect(QCollisionAspectPrivate &dd, QObject *parent) : QAbstractAspect(dd, parent) { registerBackendTypes(); }
QCollisionAspect::QCollisionAspect(QObject *parent) : QAbstractAspect(*new QCollisionAspectPrivate(), parent) { registerBackendTypes(); }