Lines Matching defs:LayerCache
24 #include "LayerCache.h"
34 LayerCache::LayerCache(): mSize(0), mMaxSize(MB(DEFAULT_LAYER_CACHE_SIZE)) {
44 LayerCache::~LayerCache() {
52 uint32_t LayerCache::getSize() {
56 uint32_t LayerCache::getMaxSize() {
60 void LayerCache::setMaxSize(uint32_t maxSize) {
69 void LayerCache::deleteLayer(Layer* layer) {
79 void LayerCache::clear() {
87 Layer* LayerCache::get(const uint32_t width, const uint32_t height) {
123 void LayerCache::dump() {
131 bool LayerCache::resize(Layer* layer, const uint32_t width, const uint32_t height) {
156 bool LayerCache::put(Layer* layer) {