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

Invalid QSGAbstractRenderer::setClearMode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 6.0.0
    • Quick: SceneGraph
    • None
    • All

    Description

      The QSGAbstractRenderer::setClearMode will save a ClearMode member, this is a enum value:

      enum ClearModeBit
          {
              ClearColorBuffer    = 0x0001,
              ClearDepthBuffer    = 0x0002,
              ClearStencilBuffer  = 0x0004
          };
      

      ClearMode control the renderer how to clear buffers when render, but the QSGAbstractRenderer::clearMode is not using in any place. If you call QSGAbstractRenderer::setClearMode, you can see any effect.

      I need use QSGAbstractRenderer::setClearMode in my project, I want preserve color buffer before render, because I can control the render tareget, I know clear color buffer is unnecessary.

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            zccrs JiDe Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change