Improve debug counter collection


The values now reflect the per-item or widget statistics also when
sharing the painter.

Also some renaming and simplifications.

QCDrawDebug -> QCDebugCounters
QCDebug -> QCDebugCounterVisualizer

Pick-to: 6.11
Change-Id: I211aebf50fb6a6b51e5f2c9c5d210bbf27973c0e
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commit934bf101cd62c6ec15adeb12438577aa81945c96
parentdc76024c2448f06f6f433c0ad72565d2af37f883
authorLaszlo Agocs <laszlo.agocs@qt.io>
committerLaszlo Agocs <laszlo.agocs@qt.io>
commit timeTue, 3 Feb 2026 13:05:30 +0100