Improve map item rendering performance
A flood of input events, such as when pinch, triggers
multiple map item geometry updates to occur per frame. These
geometry updates are potentially expensive and only the
last generated geometry is used. Mark items to be polished to
make geometry updates once per frame when updatePolish() is called.
Done-with: Aaron McCarthy <aaron.mccarthy@jollamobile.com>
Change-Id: I0af40e2d0b09c8364382d4b4c018988f3986f7f0
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
| commit | eea315187d1add70aaf69745c031b8d6342b2303 |
| parent | 3fadff6e01232f70492a05b1fb779968d9662462 |
| author | Michal Klocek <michal.klocek@theqtcompany.com> |
| committer | Michal Klocek <michal.klocek@theqtcompany.com> |
| commit time | Fri, 27 Nov 2015 11:30:25 +0000 |
- M src/imports/location/qdeclarativecirclemapitem.cpp
- M src/imports/location/qdeclarativecirclemapitem_p.h
- M src/imports/location/qdeclarativegeomap.cpp
- M src/imports/location/qdeclarativegeomapitembase.cpp
- M src/imports/location/qdeclarativegeomapitembase_p.h
- M src/imports/location/qdeclarativegeomapquickitem.cpp
- M src/imports/location/qdeclarativegeomapquickitem_p.h
- M src/imports/location/qdeclarativepolygonmapitem.cpp
- M src/imports/location/qdeclarativepolygonmapitem_p.h
- M src/imports/location/qdeclarativepolylinemapitem.cpp
- M src/imports/location/qdeclarativepolylinemapitem_p.h
- M src/imports/location/qdeclarativerectanglemapitem.cpp
- M src/imports/location/qdeclarativerectanglemapitem_p.h
- M tests/auto/declarative_ui/tst_map_error.qml
- M tests/auto/declarative_ui/tst_map_flick.qml
- M tests/auto/declarative_ui/tst_map_item.qml
- M tests/auto/declarative_ui/tst_map_item_details.qml
- M tests/auto/declarative_ui/tst_map_item_fit_viewport.qml
- M tests/auto/declarative_ui/tst_map_mouse.qml