#include "src/core/SkImageFilterCache.h"
#include "include/private/base/SkMutex.h"
#include "include/private/base/SkOnce.h"
#include "src/base/SkTInternalLList.h"
#include "src/core/SkChecksum.h"
#include "src/core/SkImageFilterTypes.h"
#include "src/core/SkSpecialImage.h"
#include "src/core/SkTDynamicHash.h"
#include "src/core/SkTHash.h"
#include <vector>
usingnamespaceskia_private;
#ifdef SK_BUILD_FOR_IOS
enum { kDefaultCacheSize = 2 * 1024 * 1024 };
#else
enum { … };
#endif
namespace {
class CacheImpl : public SkImageFilterCache { … };
}
sk_sp<SkImageFilterCache> SkImageFilterCache::Create(size_t maxBytes) { … }
sk_sp<SkImageFilterCache> SkImageFilterCache::Get(CreateIfNecessary createIfNecessary) { … }