Searched refs:mBlobCache (Results 1 – 8 of 8) sorted by relevance
/external/angle/src/libANGLE/ |
D | MemoryProgramCache.cpp | 101 : mBlobCache(blobCache), mIssuedWarnings(0) in MemoryProgramCache() 140 if (!mBlobCache.isCachingEnabled()) in getProgram() 188 return mBlobCache.get(context->getScratchBuffer(), programHash, programOut, programSizeOut); in get() 195 return mBlobCache.getAt(index, hashOut, programOut); in getAt() 200 mBlobCache.remove(programHash); in remove() 208 if (!mBlobCache.isCachingEnabled()) in putProgram() 232 mBlobCache.put(programHash, std::move(compressedData)); in putProgram() 256 mBlobCache.populate(programHash, std::move(newEntry)); in putBinary() 263 mBlobCache.clear(); in clear() 269 mBlobCache.resize(maxCacheSizeBytes); in resize() [all …]
|
D | BlobCache.h | 124 void clear() { mBlobCache.clear(); } 127 void resize(size_t maxCacheSizeBytes) { mBlobCache.resize(maxCacheSizeBytes); } 130 size_t entryCount() const { return mBlobCache.entryCount(); } 133 size_t trim(size_t limit) { return mBlobCache.shrinkToSize(limit); } 136 size_t size() const { return mBlobCache.size(); } 139 bool empty() const { return mBlobCache.empty(); } 142 size_t maxSize() const { return mBlobCache.maxSize(); } 155 angle::SizedMRUCache<BlobCache::Key, CacheEntry> mBlobCache;
|
D | BlobCache.cpp | 104 : mBlobCache(maxCacheSizeBytes), mSetBlobFunc(nullptr), mGetBlobFunc(nullptr) in BlobCache() 138 mBlobCache.put(key, std::move(newEntry), newEntry.first.size()); in populate() 184 bool result = mBlobCache.get(key, &entry); in get() 214 bool result = mBlobCache.getAt(index, keyOut, &valueBuf); in getAt() 224 mBlobCache.eraseByKey(key); in remove()
|
D | Display.h | 225 bool areBlobCacheFuncsSet() const { return mBlobCache.areBlobCacheFuncsSet(); } in areBlobCacheFuncsSet() 226 BlobCache &getBlobCache() { return mBlobCache; } in getBlobCache() 354 BlobCache mBlobCache; variable
|
D | MemoryProgramCache.h | 88 egl::BlobCache &mBlobCache;
|
D | Display.cpp | 736 mBlobCache(gl::kDefaultMaxProgramCacheMemoryBytes), in Display() 737 mMemoryProgramCache(mBlobCache), in Display() 852 mImplementation->setBlobCache(&mBlobCache); in initialize() 859 mBlobCache.resize(1024 * 1024); in initialize() 952 mBlobCache.setBlobCacheFuncs(nullptr, nullptr); in terminate() 1600 mBlobCache.setBlobCacheFuncs(set, get); in setBlobCacheFuncs()
|
/external/angle/src/libANGLE/renderer/ |
D | DisplayImpl.h | 113 void setBlobCache(egl::BlobCache *blobCache) { mBlobCache = blobCache; } in setBlobCache() 114 egl::BlobCache *getBlobCache() const { return mBlobCache; } in getBlobCache() 137 egl::BlobCache *mBlobCache; variable
|
D | DisplayImpl.cpp | 43 : mState(state), mExtensionsInitialized(false), mCapsInitialized(false), mBlobCache(nullptr) in DisplayImpl()
|