/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | MemoryProgramCache.cpp | 88 : mBlobCache(blobCache), mIssuedWarnings(0) in MemoryProgramCache() 127 if (!mBlobCache.isCachingEnabled()) in getProgram() 166 return mBlobCache.get(context->getScratchBuffer(), programHash, programOut); in get() 173 return mBlobCache.getAt(index, hashOut, programOut); in getAt() 178 mBlobCache.remove(programHash); in remove() 186 if (!mBlobCache.isCachingEnabled()) in putProgram() 203 mBlobCache.put(programHash, std::move(serializedProgram)); in putProgram() 223 mBlobCache.populate(programHash, std::move(newEntry)); in putBinary() 228 mBlobCache.clear(); in clear() 234 mBlobCache.resize(maxCacheSizeBytes); in resize() [all …]
|
D | BlobCache.h | 116 void clear() { mBlobCache.clear(); } 119 void resize(size_t maxCacheSizeBytes) { mBlobCache.resize(maxCacheSizeBytes); } 122 size_t entryCount() const { return mBlobCache.entryCount(); } 125 size_t trim(size_t limit) { return mBlobCache.shrinkToSize(limit); } 128 size_t size() const { return mBlobCache.size(); } 131 bool empty() const { return mBlobCache.empty(); } 134 size_t maxSize() const { return mBlobCache.maxSize(); } 145 angle::SizedMRUCache<BlobCache::Key, CacheEntry> mBlobCache;
|
D | BlobCache.cpp | 34 : mBlobCache(maxCacheSizeBytes), mSetBlobFunc(nullptr), mGetBlobFunc(nullptr) in BlobCache() 67 mBlobCache.put(key, std::move(newEntry), newEntry.first.size()); in populate() 111 bool result = mBlobCache.get(key, &entry); in get() 140 bool result = mBlobCache.getAt(index, keyOut, &valueBuf); in getAt() 150 bool result = mBlobCache.eraseByKey(key); in remove()
|
D | Display.h | 161 bool areBlobCacheFuncsSet() const { return mBlobCache.areBlobCacheFuncsSet(); } in areBlobCacheFuncsSet() 162 BlobCache &getBlobCache() { return mBlobCache; } in getBlobCache() 256 BlobCache mBlobCache; variable
|
D | MemoryProgramCache.h | 85 egl::BlobCache &mBlobCache;
|
D | Display.cpp | 465 mBlobCache(gl::kDefaultMaxProgramCacheMemoryBytes), in Display() 466 mMemoryProgramCache(mBlobCache), in Display() 546 mImplementation->setBlobCache(&mBlobCache); in initialize() 637 mBlobCache.setBlobCacheFuncs(nullptr, nullptr); in terminate() 1140 mBlobCache.setBlobCacheFuncs(set, get); in setBlobCacheFuncs()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | MemoryProgramCache.cpp | 102 : mBlobCache(blobCache), mIssuedWarnings(0) in MemoryProgramCache() 144 if (!mBlobCache.isCachingEnabled()) in getProgram() 192 return mBlobCache.get(context->getScratchBuffer(), programHash, programOut, programSizeOut); in get() 199 return mBlobCache.getAt(index, hashOut, programOut); in getAt() 204 mBlobCache.remove(programHash); in remove() 212 if (!mBlobCache.isCachingEnabled()) in putProgram() 236 mBlobCache.put(programHash, std::move(compressedData)); in putProgram() 260 mBlobCache.populate(programHash, std::move(newEntry)); in putBinary() 267 mBlobCache.clear(); in clear() 273 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 | 243 bool areBlobCacheFuncsSet() const { return mBlobCache.areBlobCacheFuncsSet(); } in areBlobCacheFuncsSet() 244 BlobCache &getBlobCache() { return mBlobCache; } in getBlobCache() 370 BlobCache mBlobCache; variable
|
D | MemoryProgramCache.h | 88 egl::BlobCache &mBlobCache;
|
D | Display.cpp | 797 mBlobCache(gl::kDefaultMaxProgramCacheMemoryBytes), in Display() 798 mMemoryProgramCache(mBlobCache), in Display() 914 mImplementation->setBlobCache(&mBlobCache); in initialize() 921 mBlobCache.resize(1024 * 1024); in initialize() 1048 mBlobCache.setBlobCacheFuncs(nullptr, nullptr); in terminate() 1677 mBlobCache.setBlobCacheFuncs(set, get); in setBlobCacheFuncs()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | DisplayImpl.h | 96 void setBlobCache(egl::BlobCache *blobCache) { mBlobCache = blobCache; } in setBlobCache() 97 egl::BlobCache *getBlobCache() const { return mBlobCache; } in getBlobCache() 118 egl::BlobCache *mBlobCache; variable
|
D | DisplayImpl.cpp | 18 : mState(state), mExtensionsInitialized(false), mCapsInitialized(false), mBlobCache(nullptr) in DisplayImpl()
|
/third_party/skia/third_party/externals/angle2/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()
|