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

QWidget: Enable renderToTexture mode for all widgets

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • None

      aka QOpenGLWidget mode without the QOpenGLWidget.

      This is useful for at least two cases:

      1) QTBUG-49856: On OS X in layer mode we need to create either an OpenGL or a Raster layer. Handling RasterGLSurface then becomes difficult. We can resolve that by always rendering using OpenGL when in layer mode.

      2) QTBUG-50991: Support fractional scale factors in high-dpi mode. QtWigets renders to a texture at an integer scale factor, OPenGL is used to scale that texture down to the target fractional scale factor.

      API:
      The platform plugin would enable this per-window, for example via QPlatformWindow API:

         bool useOpenGlRenderingOnlyForRasterGLSurface() const
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sorvig Morten Sørvig
            sorvig Morten Sørvig
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes