Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-4094

Subpresentations as textures in custom shaders significantly increases boot time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: Qt 3D Studio 2.6
    • Fix Version/s: Qt 3D Studio 2.7
    • Component/s: OpenGL Runtime
    • Labels:
      None
    • Platform/s:
      Integrity
    • Commits:
      6f0ef990df7b230845efcbb94443ecbc7e8e58ba

      Description

      Please download and run TestApplication

      Perhaps because of the warning "qt3ds.warning: Failed to load image: SubRectangle" boot time is increasing. The warning cannot be fixed in a simple way.

      If we replace the texture with a png image, then a significant increase in the boot time is not observed. Also, if we replace the custom shader with the default material and use subpresentation, then there is no significant increase in boot time. Therefore, the reason may be the warning.

      If a sample application is not enough for analysis, please download the project from the ftp server (From_Harman\QT3DS-4094).
      In the DS/EarlyHmi/DriveSpeedControl folder you can find DRIVE_3212_Group_ADAS_VIEW.uip. There is element (Scene.Layer.GroupRoad.Road) that uses subresentation in custom shader.
      The difference with and without warning is ~8 seconds.

        Attachments

        1. brokentextureloading.txt
          9 kB
        2. disable_assert.diff
          0.5 kB
        3. TestApp.zip
          41 kB

          Issue Links

          For Gerrit Dashboard: QT3DS-4094
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              tuliniemi Jere Tuliniemi
              Reporter:
              sergeytyuntyaev Sergey Tyuntyaev
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes