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

Performance issue in QSGShaderEffect::lookThroughShaderCode()

    XMLWordPrintable

Details

    • fd58c5fc9fa5dc1aa975cf40a5a58945671e22ee, 8a04cc7dc6707d3ee11565fe2c3d76fdce98187f

    Description

      Calling QSGShaderEffect::lookThroughShaderCode() takes a lot of time. For example if a list delegate contains an element with a ShaderEffect, creating this delegate causes two calls to lookThroughShaderCode() one for vertex and one for fragment shader. Both of this calls takes noticeable portion of creation time and affect frame rate.

      There may be room for improvement, it should be possible to rewrite the function based on mallocfree const char *'s and no RegExp.

      Attachments

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

        Activity

          People

            kkalland Kim Motoyoshi Kalland (Inactive)
            kiilholm Mikko Kiilholma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes