5#ifndef QQUICKRENDERCONTROL_H
6#define QQUICKRENDERCONTROL_H
8#include <QtCore/qobject.h>
9#include <QtQuick/qtquickglobal.h>
10#include <QtGui/qimage.h>
16class QQuickRenderControlPrivate;
19class QRhiCommandBuffer;
26 explicit QQuickRenderControl(QObject *parent =
nullptr);
27 ~QQuickRenderControl() override;
29 void prepareThread(QThread *targetThread);
31 void setSamples(
int sampleCount);
45 static QWindow *renderWindowFor(QQuickWindow *win, QPoint *offset =
nullptr);
46 virtual QWindow *renderWindow(QPoint *offset) { Q_UNUSED(offset);
return nullptr; }
48 QQuickWindow *window()
const;
51 QRhiCommandBuffer *commandBuffer()
const;
54 explicit QQuickRenderControl(QQuickRenderControlPrivate &dd, QObject *parent =
nullptr);
57 void renderRequested();
61 Q_DECLARE_PRIVATE(QQuickRenderControl)
The QQuickRenderControl class provides a mechanism for rendering the Qt Quick scenegraph onto an offs...
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")
QDebug operator<<(QDebug dbg, const QFileInfo &fi)
#define PRINT_LISTENERS()
QDebug operator<<(QDebug debug, const QQuickItem *item)
static bool itemZOrder_sort(QQuickItem *lhs, QQuickItem *rhs)
#define DIRTY_TO_STRING(value)
void debugFocusTree(QQuickItem *item, QQuickItem *scope=nullptr, int depth=1)
DEFINE_OBJECT_VTABLE(QQuickItemWrapper)
static void setActiveFocus(QQuickItem *item, Qt::FocusReason reason)
static void markObjects(QV4::Heap::Base *that, QV4::MarkStack *markStack)