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

Scene3D as texture provider

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Qt3D
    • None

    Description

      Providing a QSGTextureProvider from Scene3D should allow it to be used by ShaderEffect (including QtGraphicalEffects) without an additional FBO.

      There are a few things that make this potentially more difficult:

      • vertical flip (the texture used is vertically flipped from what ShaderEffect expects)
      • no premultiplied alpha (currently Scene3D handles this in the shader; maybe a texture provider would only work when Scene3D had opaque content?)

      This might also require the texture provided to be a QSGDynamicTexture subclass for updates to work properly.

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            mbrasser Michael Brasser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes