Searched refs:mBlobCache (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/opengl/libs/EGL/ |
D | egl_cache.cpp | 120 if (mBlobCache) { in terminate() 121 mBlobCache->writeToFile(); in terminate() 123 mBlobCache = nullptr; in terminate() 155 if (mInitialized && mBlobCache) { in setBlob() 156 mBlobCache->writeToFile(); in setBlob() 218 if (mBlobCache) { in getCacheSize() 219 return mBlobCache->getSize(); in getCacheSize() 270 if (mBlobCache == nullptr) { in getBlobCacheLocked() 271 mBlobCache.reset(new FileBlobCache(kMaxMonolithicKeySize, kMaxMonolithicValueSize, in getBlobCacheLocked() 274 return mBlobCache.get(); in getBlobCacheLocked()
|
D | egl_cache.h | 114 std::unique_ptr<FileBlobCache> mBlobCache; variable
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ShaderCache.cpp | 60 mBlobCache->clear(); in validateCache() 73 auto loaded = mBlobCache->get(&key, sizeof(key), hash.data(), hash.size()); in validateCache() 80 mBlobCache->clear(); in validateCache() 92 mBlobCache.reset(new FileBlobCache(maxKeySize, maxValueSize, maxTotalSize, mFilename)); in initShaderDiskCache() 120 size_t valueSize = mBlobCache->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize); in load() 130 valueSize = mBlobCache->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize); in load() 148 switch (mBlobCache->set(key, keySize, value, valueSize)) { in set() 180 if (mInitialized && mBlobCache) { in saveToDiskLocked() 184 mBlobCache->writeToFile(); in saveToDiskLocked() 212 mOldPipelineCacheSize = mBlobCache->get(key.data(), keySize, nullptr, 0); in store()
|
D | ShaderCache.h | 133 std::unique_ptr<FileBlobCache> mBlobCache GUARDED_BY(mMutex);
|
/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 55 cache.mBlobCache.reset(nullptr); in reinitializeAllFields() 88 cache.mBlobCache = NULL; in terminate()
|