Generalize PixmapCache implementation to LRUCache

Authored by mwolff on Mar 29 2020, 12:50 PM.

Description

Generalize PixmapCache implementation to LRUCache

Use a std::array internally as we don't expect the cache to be
copied a lot. The test case is also greatly expanded to test the
full (new) API surface of this new container class.

Differential Revision: https://phabricator.kde.org/D28404

Details

Committed
mwolffMar 29 2020, 10:32 PM
Differential Revision
D28404: Generalize PixmapCache implementation to LRUCache
Parents
R865:f1b1a06679e9: Remove useless include
Branches
Unknown
Tags
Unknown