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

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt 3D Studio 2.7
    • Qt 3D Studio 2.6
    • OpenGL Runtime
    • None
    • Integrity
    • 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

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

          Activity

            People

              tuliniemi Jere Tuliniemi
              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