32 Q_DECLARE_PUBLIC(QQuickRenderControl)
37 DeviceLostInBeginFrame,
41 QQuickRenderControlPrivate(QQuickRenderControl *renderControl);
43 static QQuickRenderControlPrivate *get(QQuickRenderControl *renderControl) {
44 return renderControl->d_func();
47 static bool isRenderWindowFor(QQuickWindow *quickWin,
const QWindow *renderWin);
48 virtual bool isRenderWindow(
const QWindow *w);
50 static void cleanup();
52 void windowDestroyed();
58 void resetRhi(
const QQuickGraphicsConfiguration &config);
62 QQuickRenderControl *q;
65 static QSGContext *sg;
69 QRhiCommandBuffer *cb;
70 QOffscreenSurface *offscreenSurface;
72 FrameStatus frameStatus;