Make Canvas2D Flower test to support Path2D


Now when Path2D is available, support it in QCPainterBench Flower test.
Leave also direct painting option so these can be compared. Currently
on my laptop, enabling only Flower test, with render count 700:
- Direct: 59fps
- Path2D, pathGroup -1: 60fps
- Path2D, pathGroup 1: 165fps

Change-Id: I2dcda4344f6afef30b9eb525d62adf0744f02751
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
commit8ac6ec592147f8cec9e17ab799d95dd1575ae4b0
parentd9ba061bd89331afe3ad3d519d205021623909ba
authorKaj Grönholm <kaj.gronholm@qt.io>
committerKaj Grönholm <kaj.gronholm@qt.io>
commit timeTue, 5 May 2026 12:31:23 +0000