diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2011-08-16 04:04:53 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2011-08-16 04:04:53 +0000 |
| commit | dc713ea50efc5fd3f041db05ff92d31a3a54dc5b (patch) | |
| tree | c61e3dc02b30ceab7ba252c1216279cc11d9d956 /src/display/drawing.h | |
| parent | Add sanity checks against singular transforms in the drawing tree. (diff) | |
| download | inkscape-dc713ea50efc5fd3f041db05ff92d31a3a54dc5b.tar.gz inkscape-dc713ea50efc5fd3f041db05ff92d31a3a54dc5b.zip | |
Add user preference for rendering cache size
(bzr r10347.1.34)
Diffstat (limited to 'src/display/drawing.h')
| -rw-r--r-- | src/display/drawing.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/display/drawing.h b/src/display/drawing.h index 011bf35a6..cfba4ebe6 100644 --- a/src/display/drawing.h +++ b/src/display/drawing.h @@ -55,6 +55,7 @@ public: Geom::OptIntRect const &cacheLimit() const; void setCacheLimit(Geom::OptIntRect const &r); + void setCacheBudget(size_t bytes); OutlineColors const &colors() const { return _colors; } @@ -67,7 +68,7 @@ public: sigc::signal<void, DrawingItem *> signal_item_deleted; private: - void _reportCacheScore(CacheRecord const &); + void _pickItemsForCaching(); typedef std::list<CacheRecord> CandidateList; |
