Files
test/source/blender/gpu/vulkan
Jeroen Bakker ea633b930f Fix #143989: Vulkan: Text drawing performance
Text drawing can be improved. At this moment a vertex buffer is
allocated for 2048 chars. When drawing a string the vertex buffer is
filled from the beginning with the string to draw. The next string will
replace the chars of the previous string. This locks up GPUs as the data
can only be overwritten when the buffer isn't used anymore.

Vulkan backend had an issue that uploading the new data would always
send over 2048 chars even when some chars were only used. By fixing this
the scene in the report went from 0.6 fps to 2.6 fps. OpenGL is 6 fps as
vulkan has to manage a rendergraph with 100.000 of nodes.

Text drawing performance can be improved by continue using the space of
the vertex buffers. In this case more drawing calls can be done, before
the vertex buffer needs to be updated.

Pull Request: https://projects.blender.org/blender/blender/pulls/144604
2025-08-15 10:36:27 +02:00
..
2025-08-15 09:36:38 +02:00
2025-08-15 09:36:38 +02:00
2025-07-14 18:53:35 +02:00
2025-01-27 08:55:23 +01:00
2025-01-27 08:55:23 +01:00
2024-08-20 11:27:33 +02:00
2025-05-02 13:24:06 +02:00
2023-11-14 11:12:19 +01:00
2024-01-01 00:43:09 +13:00
2024-10-08 10:55:10 +02:00