Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
Description
I have multi QQuickRenderTarget for a QQuickWindow, I want to render a part of QQuickWindow to a QQuickRenderTarget.
The QQuickRenderControl::render always from 0,0 position render to the QQuickRenderTarget.
For an example:
QQuickRenderTarget rt1 = QQuickRenderTarget::fromOpenGLTexture(0, ..., QSize(100, 100)); QQuickRenderTarget rt2 = QQuickRenderTarget::fromOpenGLTexture(1, ..., QSize(100, 100)); QQuickRenderControl *rc = window->renderControl(); window->setRenderTarget(rt1); rc->render(QPoint(0, 0)); window->setRenderTarget(rt2); rc->render(QPoint(100, 0));
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-115574 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
493064,2 | Allow control projection matrix by QQuickRenderControl | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |