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

Demo Direct3D 11 Under QML cannot replace the root Item with Rectangle

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.14.0
    • Quick: SceneGraph
    • None
    • Windows 10
    • Windows

    Description

      Previous Question

      Qt Demo Direct3D 11 Under QML

      Replacing the root Item of main.qml with Rectangle will cause D3D11Squircle to become white color. When i set the transparent color to the Rectangle,   D3D11Squircle can display normal.

      How to deal with this problem?

       

      Current Question

      I read the qt document, and find the details of afterRendering(): "... Rather, it is the combination of beforeRendering() + beforeRenderPassRecording() or beforeRendering() + afterRenderPassRecording() that is typically used to achieve under- or overlaying of the custom rendering." So i tried to change the demo's signal "beforeRenderPassRecording" to signal "afterRenderPassRecording",  but the custom rendering is still underlaying.

       

       

      Attachments

        1. Snipaste_1.jpg
          Snipaste_1.jpg
          246 kB
        2. Snipaste_2.jpg
          Snipaste_2.jpg
          13 kB
        3. Snipaste_2020-03-12_14-06-36.jpg
          Snipaste_2020-03-12_14-06-36.jpg
          274 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            janichol Andy Nichols
            liuzhenyu zhenyu liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes