equal
deleted
inserted
replaced
51 void memoryGood(); |
51 void memoryGood(); |
52 void freeGpuRam(int bytes, bool useSwRendering); |
52 void freeGpuRam(int bytes, bool useSwRendering); |
53 void freeUnusedGpuResources(); |
53 void freeUnusedGpuResources(); |
54 QVector<const HbIconKey *> getKeys(const QString &filename) const; |
54 QVector<const HbIconKey *> getKeys(const QString &filename) const; |
55 |
55 |
|
56 int gpuLRUSize() const; |
56 //Debug Code for Test Purpose |
57 //Debug Code for Test Purpose |
57 #ifdef HB_ICON_CACHE_DEBUG |
58 #ifdef HB_ICON_CACHE_DEBUG |
58 void cleanVectorLRUList(); |
59 void cleanVectorLRUList(); |
59 void cleanRasterLRUList(); |
60 void cleanRasterLRUList(); |
60 int count() const; |
61 int count() const; |
67 bool enableCache(bool cacheIt); |
68 bool enableCache(bool cacheIt); |
68 int cacheHitCount(); |
69 int cacheHitCount(); |
69 int cacheMissCount(); |
70 int cacheMissCount(); |
70 int rasterLruCount(); |
71 int rasterLruCount(); |
71 int vectorLruCount(); |
72 int vectorLruCount(); |
72 int gpuLRUSize() const; |
|
73 #endif |
73 #endif |
74 |
74 |
75 private: |
75 private: |
76 |
76 |
77 void createGpuCacheSpace(int itemCost); |
77 void createGpuCacheSpace(int itemCost); |