diff -r 923ff622b8b9 -r 4633027730f5 src/hbservers/hbthemeserver/hbthemeserver_symbian_p_p.h --- a/src/hbservers/hbthemeserver/hbthemeserver_symbian_p_p.h Tue Jul 06 14:36:53 2010 +0300 +++ b/src/hbservers/hbthemeserver/hbthemeserver_symbian_p_p.h Wed Aug 18 10:05:37 2010 +0300 @@ -37,7 +37,6 @@ #include "hbthemecommon_p.h" #include "hbthemecommon_symbian_p.h" #include "hbicondatacache_p.h" -#include "hbcache_p.h" #include "hbthemewatcher_symbian_p.h" #include #include @@ -91,19 +90,16 @@ void CleanupSessionIconItem(HbIconKey key); void clearIconCache(); - bool insertCssCacheItem(const QString &key, HbCacheItem *item); - HbCacheItem * cssCacheItem(const QString &key); - void CleanupSessionCssItem(QString key); - void clearCssCache(); void MemoryGood(); void FreeGpuRam(int bytes, bool useSwRendering); + void freeGpuRam(); void freeUnusedGpuResources(); - void doCleanup(); static bool gpuMemoryState(); bool openCurrentIndexFile(); HbRenderingMode currentRenderingMode() const; + HbRenderingMode expectedRenderingMode(HbRenderingMode requsetedRenderingMode) const; void setCurrentRenderingMode(HbRenderingMode currentMode); void HandleThemeSelection( const QString& themeName); @@ -111,6 +107,10 @@ int allocatedSharedMemory(); int allocatedHeapMemory(); int gpuLRUSize() const; + unsigned long freeGPUMemory(); + unsigned long totalGPUMemory(); + int cachedSgImagesCount() const; + int cachedPixmapCount() const; //Debug Code for Test Purpose #ifdef HB_ICON_CACHE_DEBUG int cacheIconCount() const; @@ -129,8 +129,6 @@ void cleanVectorLRUList(); int rasterLruCount(); int vectorLruCount(); - unsigned long freeGPUMemory(); - unsigned long totalGPUMemory(); #if defined(Q_OS_SYMBIAN) int iconRefCount(const RMessage2& aMessage); #endif @@ -146,7 +144,6 @@ void ConstructL(); void UpdateThemeIndexes(bool updateBase = true); HbIconDataCache * cache; - HbCache* cssCache; static bool gpuGoodMemoryState; HbRenderingMode renderMode; @@ -170,16 +167,18 @@ void DispatchMessageL(const RMessage2 & aMessage); void GetSharedIconInfoL(const RMessage2 & aMessage); void HandleStyleSheetLookupL(const RMessage2 & aMessage); + void HandleMissedHbCssLookupL(const RMessage2 &aMessage); void HandleWidgetMLLookupL(const RMessage2& aMessage); void HandleDeviceProfilesReqL(const RMessage2& aMessage); void HandleEffectAddAndFileLookupL(const RMessage2 &aMessage); QColor GetColorFromRgba(TUint32 aRgba, bool aColorFlag); + HbIconCacheItem* getCachedIcon(HbIconKey & key, const QString & format); void GetSharedMultiIconInfoL(const RMessage2& aMessage); void GetMultiIconInfoL(const RMessage2& aMessage); TMultiIconSymbParams ReadMessageAndRetrieveMultiIconParams(const RMessage2& aMessage); void GetDataFromCacheItem(HbIconCacheItem* cacheItem, HbSharedIconInfo &data) const; void FreeDataFromCacheItem(HbIconCacheItem* cacheItem); - bool IconInfoFromSingleIcon(HbIconKey key, HbSharedIconInfo &stitchedData); + bool IconInfoFromSingleIcon(HbIconKey key, HbSharedIconInfo &stitchedData, const QString & format); bool CreateCacheItemData(HbIconKey key, int options, HbSharedIconInfo &data, bool isMultiPiece = false); bool CreateStichedIconInfoOfParts(QVector dataForParts, @@ -208,7 +207,6 @@ private: HbThemeServerPrivate *iServer; QList sessionData; - QList sessionCssData; }; #endif // HBTHEMESERVER_SYMBIAN_P_H