예제 #1
0
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();
}
예제 #2
0
/*! \internal */
QRenderAspect::QRenderAspect(QRenderAspectPrivate &dd, QObject *parent)

    : QAbstractAspect(dd, parent)
{
    registerBackendTypes();
}
예제 #3
0
QRenderAspect::QRenderAspect(QRenderAspect::RenderType type, QObject *parent)
    : QAbstractAspect(*new QRenderAspectPrivate(type), parent)
{
    registerBackendTypes();
}
예제 #4
0
/*! \internal */
QCollisionAspect::QCollisionAspect(QCollisionAspectPrivate &dd, QObject *parent)
    : QAbstractAspect(dd, parent)
{
    registerBackendTypes();
}
예제 #5
0
QCollisionAspect::QCollisionAspect(QObject *parent)
    : QAbstractAspect(*new QCollisionAspectPrivate(), parent)
{
    registerBackendTypes();
}