Revision 9657d62...
Go back to digest for 24th July 2011Optimization in Graphics
Gilles Caulier committed changes in [digikam] /:
Reduce memory allocation in CameraIconItem to store a class instance of GPItemInfo instead to realocate
a new object as a copy of info computed by camera driver.
Use everywhere a const ref of GPItemInfo as parameter instead a pointer.
Add relevant method in GPItemInfo and PhotoInfoContainer
File Changes
Modified 15 files
- libs/dmetadata/photoinfocontainer.cpp
- libs/dmetadata/photoinfocontainer.h
- libs/imageproperties/cameraitempropertiestab.cpp
- libs/imageproperties/cameraitempropertiestab.h
- libs/imageproperties/imagepropertiessidebarcamgui.cpp
- libs/imageproperties/imagepropertiessidebarcamgui.h
- utilities/cameragui/devices/gpiteminfo.cpp
- utilities/cameragui/devices/gpiteminfo.h
- utilities/cameragui/items/cameraiconitem.cpp
- utilities/cameragui/items/cameraiconitem.h
- utilities/cameragui/main/cameraui.cpp
- utilities/cameragui/views/cameraiconview.cpp
- utilities/cameragui/views/cameraiconview.h
- utilities/cameragui/views/cameraiconviewtooltip.cpp
- utilities/cameragui/views/cameraiconviewtooltip.h
15 files changed in total