Use serial numbers instead of the address of QCanvasPath
Mirror QImage::cacheKey(). Except that QCanvasPath is not implicitly
shared, so there is no detach number mixed in. Rather, we just use a
monotonic counter, and assign a new serial number upon clear() as well.
The QCanvasPath * keys become uint everywhere in the hash tables.
Fixes: QTBUG-146192
Pick-to: 6.11
Change-Id: Idbadb61e48d5d7bbebd33d34ff5f90f086447e1d
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
| commit | cb4d675e5e9317ffde95527fc2756c874850d95d |
| parent | 5977ea225a9286f043319814973e3ab6f9185d09 |
| author | Laszlo Agocs <laszlo.agocs@qt.io> |
| committer | Laszlo Agocs <laszlo.agocs@qt.io> |
| commit time | Mon, 4 May 2026 17:29:16 +0000 |