Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-115574

Allow control the renderer matrix by QQuickRenderControl

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Quick: SceneGraph
    • None
    • All

    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

        For Gerrit Dashboard: QTBUG-115574
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            zccrs JiDe Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change