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>