Refactor eager evaluation for QGeo{Path,Polygon}Eager
The eager versions of the classes are supposed to do the calculations
as soon as some member variables are updated.
Previously, they were doing it in two steps:
* overriding the computeBoundingBox() methods that does the calculations
* calling this new override directly from markDirty()
This patch removes the first step and instead moves the calculations
directly into markDirty().
The logic stays the same, because the base class implementation calls
computeBoundingBox() only when the m_dirty flag is set to true, and
the eager versions always keep this flag equal to false. To verify it,
add Q_UNREACHABLE() into the overridden implementations.
Task-number: QTBUG-144952
Pick-to: 6.11 6.10 6.8
Change-Id: I8e2c950283263d63050157078e8207e2a9eea78f
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>