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

Access Rhi capabilities without including private header

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.2.2
    • None
    • All

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes