Qt Graphical Effects: Make ShaderBuilder a singleton again
This was made into a regular item for bookkeeping reasons when
we were using temporary files for shaders. On OpenGL this caused
some initialization code to be run once per item, and this took
20ms each time on my work station. Returning to a singleton here
causes it to be faster than the Qt 5.15 version.
Pick-to: 6.4
Task-number: QTBUG-107468
Change-Id: I8daff0bc941c904cac51ecdb63f7a6f5468d00ac
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
| commit | c4532b60123e9b68974d2d1054ac7e052c333b2d |
| parent | a3cb68f16d35ff1d750257a0fcd443a4c88ce572 |
| author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> |
| committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> |
| commit time | Tue, 11 Oct 2022 13:31:40 +0200 |
- M src/imports/graphicaleffects5/Blend.qml
- M src/imports/graphicaleffects5/DirectionalBlur.qml
- M src/imports/graphicaleffects5/GaussianBlur.qml
- M src/imports/graphicaleffects5/RadialBlur.qml
- M src/imports/graphicaleffects5/ZoomBlur.qml
- M src/imports/graphicaleffects5/private/GaussianDirectionalBlur.qml
- M src/imports/graphicaleffects5/private/plugin.cpp