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

Optimize ShaderEffect construction

    XMLWordPrintable

Details

    • 81867dfbf9c16d4300727a08eed9b5c6c979e0ba

    Description

      ShaderEffect is a relatively heavy compnent to construct compared to other built in components like Image and Rectangle. This isn't an issue when using ShaderEffect for large, infrequent effects, but can become an issue when e.g. using it on every element in a GridView.

      Some ideas:

      • See if lookThroughShaderCode can be applied per-unique-shader, rather than per-ShaderEffect-instance.
      • String-based connects; QSignalMapper; string-based property lookups, etc are all relatively heavy weight. See if they can be replaced by lighter weight alternatives.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-53901
          # Subject Branch Project Status CR V

          Activity

            People

              tvete Paul Olav Tvete
              mbrasser Michael Brasser
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes