diff options
| author | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-09-28 17:21:03 +0200 |
|---|---|---|
| committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-10-03 14:52:31 +0200 |
| commit | f500bd1609c685347a0435c9d3887bfcd65e41a6 (patch) | |
| tree | b9d107f2fd4535b93e83085be640c6d6fd5a789c /src/qml/jsruntime/qv4engine.cpp | |
| parent | 5bc1ae578ed79ef295e86901e4620d9c37687ed7 (diff) | |
Drop QVector for srb and shader stage descriptions
Follow the QRhi changes that move away from QVector in
QRhiShaderResourceBindings and QRhiGraphicsPipeline.
This, together with QRhi's de-d-pointering of QRhiShaderResourceBinding,
is bringing significant performance improvements for scenes with
a lot (thousands) of unbatched items, since a large number of
allocations are now avoided due to not having to create a QVector of
d-pointered classes just to do a lookup in the srb cache.
Change-Id: I612ab2d9449a9e0ce79f7169b942b95d55af61ff
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
0 files changed, 0 insertions, 0 deletions
