Use the full-update shortcut for uniform buffers


If there is something to draw, the buffers contents are fully updated,
every frame. Therefore using the shortcut is feasible.

This should make very little difference in ordinary scenes. There might
be some CPU time saved in big scenes, e.g. qcpainterbench with 64+ items.
It is nonetheless the correct thing to do. Qt Quick 3D does the same,
since it works with quite a lot of uniform data and the entire contents
of the buffer is rewritten on every frame. Qt Quick doesn't, since
the uniform buffers are very small there, and not the full contents may
be touched. QCPainter is more like the Q3D renderer in this regard.

Pick-to: 6.11
Change-Id: Ie2d5ed69254801d4b0937b32806e094471513a03
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commitb55b5e360a69a4d4f2026d32033169f8732d8780
parent96fe515bd9a1cd7b244eb58afd9f806db168822d
authorLaszlo Agocs <laszlo.agocs@qt.io>
committerLaszlo Agocs <laszlo.agocs@qt.io>
commit timeTue, 17 Feb 2026 10:14:47 +0100