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

tst_QRhi fails on webOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 6.3.0 Beta2, 6.4.0 Beta1
    • 6.3.0 Beta1
    • Qt RHI
    • None
    • webOS
    • 9a7e55dcbe (qt/qtbase/dev) 9a7e55dcbe (qt/tqtc-qtbase/dev) ad9623db7b (qt/qtbase/6.3) ad9623db7b (qt/tqtc-qtbase/6.3)

    Description

      PASS : tst_QRhi::renderToTextureSrbReuse(OpenGL)
      PASS : tst_QRhi::renderToTextureIndexedDraw(Null)
      PASS : tst_QRhi::renderToTextureIndexedDraw(OpenGL)
      QCRITICAL: tst_QRhi::renderToWindowSimple(Null) Unsupported surfaceType(0), exiting.

      This happens because webOS doesn't support raster pipeline (QSurface::RasterSurface value is 0):

      QPlatformWindow *WebOSIntegration::createPlatformWindow(QWindow *window) const

      {

      // If one of conditions below is not satisfied,

      // we should abort further initialization right away

      // rather than trying a fallback which may lead an unexpected result.

      // Note that abort() doesn't work properly as well for some reason,

      // thus we call ::exit() instead to terminate the process gracefully.

       

      if ((window->surfaceType() != QWindow::OpenGLSurface &&

      window->surfaceType() != QWindow::RasterGLSurface &&

      window->surfaceType() != QWindow::VulkanSurface))

      { qCritical("Unsupported surfaceType(%d), exiting.", window->surfaceType()); ::exit(1); }

      Attachments

        Issue Links

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

          Activity

            People

              jannej Janne Juntunen
              jannej Janne Juntunen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes