aboutsummaryrefslogtreecommitdiffstats
path: root/tests/.prev_CMakeLists.txt
diff options
context:
space:
mode:
authorKaj Grönholm <kaj.gronholm@qt.io>2020-11-06 12:56:36 +0200
committerKaj Grönholm <kaj.gronholm@qt.io>2020-11-09 19:35:40 +0200
commitebe36705223d00bfe92c7b8fc391e97895ba1155 (patch)
treefffaa9c2ca30454cd3155447c11452d755b0622f /tests/.prev_CMakeLists.txt
parent1df1167ff1226637cf659debaa3296f03f4a3994 (diff)
Optimize particles vertex data
Use uchar instead of float for vertex data that doesn't need float. Continue using floats in shaders. Also remove animY2, which is same as animY1. These changes reduce memory usage especially when the amount of particles increases. Testing on windows, memory reductions with emitters/trailemitter example were: - OpenGL: 82.7 MB -> 76.5 MB - Vulkan: 130.8 MB -> 126.3 MB - D3D11: 143.7 MB -> 135.8 MB Task-number: QTBUG-88124 Change-Id: I8f8dcb3845323b0e69fb99b5bff830cd0f151a47 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'tests/.prev_CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions