Enable mipmapping with offscreen canvas


To make this work, one has to state upon canvas creation that
mipmapping is desired, and then be aware that mipmaps are
(re)generated upon calling addImage().

Pick-to: 6.11
Change-Id: I57802597c76c1ea606a7d3d91b2963c467912ca8
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commitc2481f6807e3b220da379480ec00b172dfedab6a
parentbf1d7ecbc174f96648f1f81fcc8a08c0c1e47ca1
authorLaszlo Agocs <laszlo.agocs@qt.io>
committerLaszlo Agocs <laszlo.agocs@qt.io>
commit timeMon, 26 Jan 2026 14:07:00 +0000