Fuzzing: Use a new QPainter for each tested input
so that an input which doesn't properly reset its QPainter cannot
influence the following inputs. This seems to be like 10% slower on
small inputs but doesn't make a significant difference on large inputs.
Change-Id: I77070ca911f6ad88d4bed25497a8f35881dea974
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
| commit | 2ed60a281a898802e36af79d26fe3734c874e9c7 |
| parent | 00984ee2895a1065c03e088255ef0e2bcd690b5d |
| author | Robert Löhning <robert.loehning@qt.io> |
| committer | Robert Löhning <robert.loehning@qt.io> |
| commit time | Thu, 18 Sep 2025 15:58:22 +0200 |