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

Access Rhi capabilities without including private header

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 6.2.2
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      All

      Description

      QRhi * that 

      QSGMaterialShader::GraphicsPipelineState

      and also 

      window()->rendererInterface()->getResource(window(),QSGRendererInterface::RhiResource)

      expose are useless unless someone includes the private/qrhi_p.h header. Understood that Qt designers want to hide the QRhi internals..
      But there are a couple of methods that QRhi has, that have to do with the current hardware capabilities, that would be of great help if we could have access to them without including private headers:

      isFeatureSupported()
      resourceLimit()
      supportedSampleCounts()
      

       Please consider a "parent" QRhi class, exposing only the above methods (and the associated enums), that we can use to query the hardware capabilities of the QRhi renderer without resorting to including a private header.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            yannis Ioannis Doukakis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes