Use fillPlainRect() in drawBoxShadow()


This simplifies drawBoxShadow() and disables vertex antialiasing also
for it. Antialiasing is not needed as drawBoxShadow() paints rect of
the full size of the shadow, so edges are fully transparent.
Testing with custom QCPainterBench shows this to improve the shadow
painting performance notably with big amount of shadows.

Pick-to: 6.11
Change-Id: I371d984ad476fc72103c1b73e5218145b0374a4e
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
commitbffed6f0e48593c1ecceed25d873bfa4c20818a5
parent983332c8c33efa2691dce7ba4f63fc6b77344dd3
authorKaj Grönholm <kaj.gronholm@qt.io>
committerKaj Grönholm <kaj.gronholm@qt.io>
commit timeTue, 10 Mar 2026 12:49:40 +0200