subsurface/qt-ui/profile
Tomaz Canabrava 54898b15ff Do not free the membuffer, reuse it
This is an attempt to make fewer calls to alloc functions when the mouse
is moving.

We were creating a membuffer, filling it (malloc / realloc), then freeing
it just after use. but we could simply hold that allocated area and reuse
it again.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-15 14:23:46 +13:00
..
animationfunctions.cpp
animationfunctions.h
divecartesianaxis.cpp Remove unused static function 2014-08-06 10:59:26 -07:00
divecartesianaxis.h
diveeventitem.cpp Extend SAMPLE_EVENT_GASCHANGE2 to have cylinder index in 'flags' field 2015-01-03 21:36:51 -08:00
diveeventitem.h Fix memleak on Pixmap cache 2014-11-14 13:45:54 -08:00
divelineitem.cpp
divelineitem.h
divepixmapitem.cpp
divepixmapitem.h
diveplotdatamodel.cpp Display CCR setpoint values on the po2 graph 2015-01-05 09:18:06 -08:00
diveplotdatamodel.h Display CCR setpoint values on the po2 graph 2015-01-05 09:18:06 -08:00
diveprofileitem.cpp Remove instantMeanDepthLine 2015-01-14 12:24:57 +13:00
diveprofileitem.h Remove instantMeanDepthLine 2015-01-14 12:24:57 +13:00
diverectitem.cpp
diverectitem.h
divetextitem.cpp Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
divetextitem.h
divetooltipitem.cpp Do not free the membuffer, reuse it 2015-01-15 14:23:46 +13:00
divetooltipitem.h Fix memory leak 2015-01-15 07:23:48 +13:00
profilewidget2.cpp Speed Improvemens: fewer calls to mapFromScene / mapToScene 2015-01-15 07:24:13 +13:00
profilewidget2.h Remove instantMeanDepthLine 2015-01-14 12:24:57 +13:00
ruleritem.cpp Ruler: fix weird behaviour near x = 0 2014-11-17 21:04:27 +00:00
ruleritem.h
tankitem.cpp Give oxygen a proper colour in the tankbar 2015-01-05 13:30:47 -08:00
tankitem.h Give oxygen a proper colour in the tankbar 2015-01-05 13:30:47 -08:00