Searched refs:BlobCache (Results 1 – 14 of 14) sorted by relevance
/external/angle/src/libANGLE/ |
D | BlobCache.cpp | 103 BlobCache::BlobCache(size_t maxCacheSizeBytes) in BlobCache() function in egl::BlobCache 107 BlobCache::~BlobCache() {} in ~BlobCache() 109 void BlobCache::put(const BlobCache::Key &key, angle::MemoryBuffer &&value) in put() 122 void BlobCache::putApplication(const BlobCache::Key &key, const angle::MemoryBuffer &value) in putApplication() 131 void BlobCache::populate(const BlobCache::Key &key, angle::MemoryBuffer &&value, CacheSource source) in populate() 141 bool BlobCache::get(angle::ScratchBuffer *scratchBuffer, in get() 142 const BlobCache::Key &key, in get() 143 BlobCache::Value *valueOut, in get() 177 *valueOut = BlobCache::Value(scratchMemory->data(), scratchMemory->size()); in get() 199 *valueOut = BlobCache::Value(entry->first.data(), entry->first.size()); in get() [all …]
|
D | MemoryProgramCache.h | 28 explicit MemoryProgramCache(egl::BlobCache &blobCache); 33 egl::BlobCache::Key *hashOut); 37 const egl::BlobCache::Key &programHash, 38 egl::BlobCache::Value *programOut, 43 const egl::BlobCache::Key **hashOut, 44 egl::BlobCache::Value *programOut); 47 void remove(const egl::BlobCache::Key &programHash); 50 angle::Result putProgram(const egl::BlobCache::Key &programHash, 59 ANGLE_NO_DISCARD bool putBinary(const egl::BlobCache::Key &programHash, 67 egl::BlobCache::Key *hashOut); [all …]
|
D | BlobCache.h | 58 class BlobCache final : angle::NonCopyable 92 explicit BlobCache(size_t maxCacheSizeBytes); 93 ~BlobCache(); 97 void put(const BlobCache::Key &key, angle::MemoryBuffer &&value); 100 void putApplication(const BlobCache::Key &key, const angle::MemoryBuffer &value); 104 void populate(const BlobCache::Key &key, 111 const BlobCache::Key &key, 112 BlobCache::Value *valueOut, 117 const BlobCache::Key **keyOut, 118 BlobCache::Value *valueOut); [all …]
|
D | MemoryProgramCache.cpp | 100 MemoryProgramCache::MemoryProgramCache(egl::BlobCache &blobCache) in MemoryProgramCache() 108 egl::BlobCache::Key *hashOut) in ComputeHash() 137 egl::BlobCache::Key *hashOut) in getProgram() 146 egl::BlobCache::Value binaryProgram; in getProgram() 184 const egl::BlobCache::Key &programHash, in get() 185 egl::BlobCache::Value *programOut, in get() 192 const egl::BlobCache::Key **hashOut, in getAt() 193 egl::BlobCache::Value *programOut) in getAt() 198 void MemoryProgramCache::remove(const egl::BlobCache::Key &programHash) in remove() 203 angle::Result MemoryProgramCache::putProgram(const egl::BlobCache::Key &programHash, in putProgram() [all …]
|
D | BlobCache_unittest.cpp | 19 using Blob = BlobCache::Value; 20 using Key = BlobCache::Key; 50 BlobCache blobCache(kSize); in TEST() 72 BlobCache blobCache(kSize); in TEST() 125 BlobCache blobCache(kSize); in TEST()
|
D | Display.cpp | 1989 return static_cast<EGLint>(BlobCache::kKeyLength); in programCacheGetAttrib() 2008 const BlobCache::Key *programHash = nullptr; in programCacheQuery() 2009 BlobCache::Value programBinary; in programCacheQuery() 2022 ASSERT(*keysize == static_cast<EGLint>(BlobCache::kKeyLength)); in programCacheQuery() 2023 memcpy(key, programHash->data(), BlobCache::kKeyLength); in programCacheQuery() 2040 *keysize = static_cast<EGLint>(BlobCache::kKeyLength); in programCacheQuery() 2050 ASSERT(keysize == static_cast<EGLint>(BlobCache::kKeyLength)); in programCachePopulate() 2052 BlobCache::Key programHash; in programCachePopulate() 2053 memcpy(programHash.data(), key, BlobCache::kKeyLength); in programCachePopulate()
|
D | Display.h | 226 BlobCache &getBlobCache() { return mBlobCache; } in getBlobCache() 354 BlobCache mBlobCache;
|
D | validationEGL.cpp | 4818 if (binary && *keysize != static_cast<EGLint>(egl::BlobCache::kKeyLength)) in ValidateProgramCacheQueryANGLE() 4848 if (keysize != static_cast<EGLint>(egl::BlobCache::kKeyLength)) in ValidateProgramCachePopulateANGLE()
|
D | Program.cpp | 796 egl::BlobCache::Key programHash; 1486 egl::BlobCache::Key programHash = {0}; in linkImpl()
|
/external/angle/src/libANGLE/renderer/ |
D | DisplayImpl.h | 33 class BlobCache; variable 113 void setBlobCache(egl::BlobCache *blobCache) { mBlobCache = blobCache; } in setBlobCache() 114 egl::BlobCache *getBlobCache() const { return mBlobCache; } in getBlobCache() 137 egl::BlobCache *mBlobCache;
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | RendererVk.h | 46 class BlobCache; variable
|
D | RendererVk.cpp | 483 egl::BlobCache::Key *hashOut) in ComputePipelineCacheVkChunkKey() 567 egl::BlobCache::Key chunkCacheHash; in CompressAndStorePipelineCacheVk() 628 egl::BlobCache::Key chunkCacheHash; in GetAndDecompressPipelineCacheVk() 630 egl::BlobCache::Value keyData; in GetAndDecompressPipelineCacheVk()
|
/external/angle/src/ |
D | libGLESv2.gni | 203 "src/libANGLE/BlobCache.h", 346 "src/libANGLE/BlobCache.cpp",
|
/external/angle/ |
D | Android.bp | 6808 "src/libANGLE/BlobCache.cpp",
|