Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.0.0
-
None
-
Qt5, Linux
-
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
For Gerrit Dashboard: QTBUG-22423 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
7915,7 | Improved QQuickShaderEffect::lookThroughShaderCode() performance. | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |