Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQuickRenderControlPrivate Class Reference

#include <qquickrendercontrol_p.h>

Inheritance diagram for QQuickRenderControlPrivate:
Collaboration diagram for QQuickRenderControlPrivate:

Public Types

enum  FrameStatus { NotRecordingFrame , RecordingFrame , DeviceLostInBeginFrame , ErrorInBeginFrame }
Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>

Public Member Functions

 QQuickRenderControlPrivate (QQuickRenderControl *renderControl)
virtual bool isRenderWindow (const QWindow *w)
void windowDestroyed ()
void update ()
void maybeUpdate ()
bool initRhi ()
void resetRhi (const QQuickGraphicsConfiguration &config)
QImage grab ()
Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
void setObjectNameWithoutBindings (const QString &name)
 QObjectPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
virtual ~QObjectPrivate ()
void deleteChildren ()
void clearBindingStorage ()
void setParent_helper (QObject *)
void moveToThread_helper ()
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
QObjectList receiverList (const char *signal) const
void ensureConnectionData ()
void addConnection (int signal, Connection *c)
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
bool maybeSignalConnected (uint signalIndex) const
bool isDeclarativeSignalConnected (uint signalIdx) const
void connectNotify (const QMetaMethod &signal)
void disconnectNotify (const QMetaMethod &signal)
void reinitBindingStorageAfterThreadMove ()
virtual std::string flagsForDumping () const
virtual void writeToDebugStream (QDebug &) const
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
Public Member Functions inherited from QObjectData
 QObjectData ()=default
virtual ~QObjectData ()=0
const QMetaObjectdynamicMetaObject () const

Static Public Member Functions

static QQuickRenderControlPrivateget (QQuickRenderControl *renderControl)
static bool isRenderWindowFor (QQuickWindow *quickWin, const QWindow *renderWin)
static void cleanup ()
Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
static QObjectPrivateget (QObject *o)
static const QObjectPrivateget (const QObject *o)
template<typename Func1, typename Func2>
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
template<typename Func1, typename Func2>
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
static bool disconnect (const QObject *sender, int signal_index, void **slot)
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)

Public Attributes

QQuickRenderControlq
bool initialized
QQuickWindowwindow
QSGRenderContextrc
QRhirhi
bool ownRhi
QRhiCommandBuffercb
QOffscreenSurfaceoffscreenSurface
int sampleCount
FrameStatus frameStatus
Public Attributes inherited from QObjectPrivate
ExtraDataextraData
QAtomicPointer< QThreadDatathreadData
QAtomicPointer< ConnectionDataconnections
union { 
   QObject *   currentChildBeingDeleted 
   QAbstractDeclarativeData *   declarativeData 
}; 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
Public Attributes inherited from QObjectData
QObjectq_ptr
QObjectparent
QObjectList children
uint isWidget: 1
uint blockSig: 1
uint wasDeleted: 1
uint isDeletingChildren: 1
uint sendChildEvents: 1
uint receiveChildEvents: 1
uint isWindow: 1
uint deleteLaterCalled: 1
uint isQuickItem: 1
uint willBeWidget: 1
uint wasWidget: 1
uint receiveParentEvents: 1
uint unused: 20
QAtomicInt postedEvents
QDynamicMetaObjectDatametaObject
QBindingStorage bindingStorage

Static Public Attributes

static QSGContextsg = nullptr

Detailed Description

Definition at line 29 of file qquickrendercontrol_p.h.

Member Enumeration Documentation

◆ FrameStatus

Enumerator
NotRecordingFrame 
RecordingFrame 
DeviceLostInBeginFrame 
ErrorInBeginFrame 

Definition at line 34 of file qquickrendercontrol_p.h.

Constructor & Destructor Documentation

◆ QQuickRenderControlPrivate()

QQuickRenderControlPrivate::QQuickRenderControlPrivate ( QQuickRenderControl * renderControl)

Definition at line 113 of file qquickrendercontrol.cpp.

Member Function Documentation

◆ cleanup()

void QQuickRenderControlPrivate::cleanup ( )
static

Definition at line 131 of file qquickrendercontrol.cpp.

◆ get()

QQuickRenderControlPrivate * QQuickRenderControlPrivate::get ( QQuickRenderControl * renderControl)
inlinestatic

Definition at line 43 of file qquickrendercontrol_p.h.

◆ grab()

QImage QQuickRenderControlPrivate::grab ( )

Definition at line 468 of file qquickrendercontrol.cpp.

◆ initRhi()

bool QQuickRenderControlPrivate::initRhi ( )

Definition at line 758 of file qquickrendercontrol.cpp.

◆ isRenderWindow()

bool QQuickRenderControlPrivate::isRenderWindow ( const QWindow * w)
virtual

◆ isRenderWindowFor()

bool QQuickRenderControlPrivate::isRenderWindowFor ( QQuickWindow * quickWin,
const QWindow * renderWin )
static

Definition at line 553 of file qquickrendercontrol.cpp.

◆ maybeUpdate()

void QQuickRenderControlPrivate::maybeUpdate ( )

Definition at line 515 of file qquickrendercontrol.cpp.

◆ resetRhi()

void QQuickRenderControlPrivate::resetRhi ( const QQuickGraphicsConfiguration & config)

Definition at line 793 of file qquickrendercontrol.cpp.

◆ update()

void QQuickRenderControlPrivate::update ( )

Definition at line 509 of file qquickrendercontrol.cpp.

◆ windowDestroyed()

void QQuickRenderControlPrivate::windowDestroyed ( )

Definition at line 187 of file qquickrendercontrol.cpp.

Member Data Documentation

◆ cb

QRhiCommandBuffer* QQuickRenderControlPrivate::cb

Definition at line 69 of file qquickrendercontrol_p.h.

◆ frameStatus

FrameStatus QQuickRenderControlPrivate::frameStatus

Definition at line 72 of file qquickrendercontrol_p.h.

◆ initialized

bool QQuickRenderControlPrivate::initialized

Definition at line 63 of file qquickrendercontrol_p.h.

◆ offscreenSurface

QOffscreenSurface* QQuickRenderControlPrivate::offscreenSurface

Definition at line 70 of file qquickrendercontrol_p.h.

◆ ownRhi

bool QQuickRenderControlPrivate::ownRhi

Definition at line 68 of file qquickrendercontrol_p.h.

◆ q

QQuickRenderControl* QQuickRenderControlPrivate::q

Definition at line 62 of file qquickrendercontrol_p.h.

◆ rc

QSGRenderContext* QQuickRenderControlPrivate::rc

Definition at line 66 of file qquickrendercontrol_p.h.

◆ rhi

QRhi* QQuickRenderControlPrivate::rhi

Definition at line 67 of file qquickrendercontrol_p.h.

◆ sampleCount

int QQuickRenderControlPrivate::sampleCount

Definition at line 71 of file qquickrendercontrol_p.h.

◆ sg

QSGContext * QQuickRenderControlPrivate::sg = nullptr
static

Definition at line 65 of file qquickrendercontrol_p.h.

◆ window

QQuickWindow* QQuickRenderControlPrivate::window

Definition at line 64 of file qquickrendercontrol_p.h.


The documentation for this class was generated from the following files: