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 static bool isFocusWindowFor(QQuickWindow *quickWindow,
const QWindow *focusWindow);
49 virtual bool isRenderWindow(
const QWindow *w);
51 static void cleanup();
53 void windowDestroyed();
59 void resetRhi(
const QQuickGraphicsConfiguration &config);
63 QQuickRenderControl *q;
66 static QSGContext *sg;
70 QRhiCommandBuffer *cb;
71 QOffscreenSurface *offscreenSurface;
73 FrameStatus frameStatus;