Add canvas tests into QCPainterBench
Add Quick Canvas (old) and Canvas2D (new) tests into QCPainterBench.
The QML JavaScript codes of these are almost identical, differences
currently are:
- Canvas uses arc() where Canvas2D uses simpler circle().
- Canvas requires reset() to clear the view.
Change-Id: I527c2dfb23713e28f071eb7c776f5064b92d72ca
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
| commit | 8e54d99d72a47387e517279e851a9b4c93d5ed2c |
| parent | 444d346ee70ba874df04c25522927895ce8f78c0 |
| author | Kaj Grönholm <kaj.gronholm@qt.io> |
| committer | Kaj Grönholm <kaj.gronholm@qt.io> |
| commit time | Fri, 24 Apr 2026 08:42:39 +0000 |