Home
last modified time | relevance | path

Searched refs:BlobCache (Results 1 – 19 of 19) sorted by relevance

/external/angle/src/libANGLE/
DBlobCache.cpp91 BlobCache::BlobCache(size_t maxCacheSizeBytes) in BlobCache() function in egl::BlobCache
95 BlobCache::~BlobCache() {} in ~BlobCache()
97 void BlobCache::put(const BlobCache::Key &key, angle::MemoryBuffer &&value) in put()
111 bool BlobCache::compressAndPut(const BlobCache::Key &key, in compressAndPut()
127 void BlobCache::putApplication(const BlobCache::Key &key, const angle::MemoryBuffer &value) in putApplication()
136 void BlobCache::populate(const BlobCache::Key &key, angle::MemoryBuffer &&value, CacheSource source) in populate()
147 bool BlobCache::get(angle::ScratchBuffer *scratchBuffer, in get()
148 const BlobCache::Key &key, in get()
149 BlobCache::Value *valueOut, in get()
184 *valueOut = BlobCache::Value(scratchMemory->data(), scratchMemory->size()); in get()
[all …]
DBlobCache.h58 class BlobCache final : angle::NonCopyable
92 explicit BlobCache(size_t maxCacheSizeBytes);
93 ~BlobCache();
97 void put(const BlobCache::Key &key, angle::MemoryBuffer &&value);
101 bool compressAndPut(const BlobCache::Key &key,
106 void putApplication(const BlobCache::Key &key, const angle::MemoryBuffer &value);
110 void populate(const BlobCache::Key &key,
117 const BlobCache::Key &key,
118 BlobCache::Value *valueOut,
123 const BlobCache::Key **keyOut,
[all …]
DMemoryProgramCache.h28 explicit MemoryProgramCache(egl::BlobCache &blobCache);
33 egl::BlobCache::Key *hashOut);
37 const egl::BlobCache::Key **hashOut,
38 egl::BlobCache::Value *programOut);
41 void remove(const egl::BlobCache::Key &programHash);
44 angle::Result putProgram(const egl::BlobCache::Key &programHash,
53 [[nodiscard]] bool putBinary(const egl::BlobCache::Key &programHash,
61 egl::BlobCache::Key *hashOut);
82 egl::BlobCache &mBlobCache;
DMemoryProgramCache.cpp67 MemoryProgramCache::MemoryProgramCache(egl::BlobCache &blobCache) : mBlobCache(blobCache) {} in MemoryProgramCache()
73 egl::BlobCache::Key *hashOut) in ComputeHash()
117 egl::BlobCache::Key *hashOut) in getProgram()
130 case egl::BlobCache::GetAndDecompressResult::NotFound: in getProgram()
133 case egl::BlobCache::GetAndDecompressResult::DecompressFailure: in getProgram()
138 case egl::BlobCache::GetAndDecompressResult::GetSuccess: in getProgram()
160 const egl::BlobCache::Key **hashOut, in getAt()
161 egl::BlobCache::Value *programOut) in getAt()
166 void MemoryProgramCache::remove(const egl::BlobCache::Key &programHash) in remove()
171 angle::Result MemoryProgramCache::putProgram(const egl::BlobCache::Key &programHash, in putProgram()
[all …]
DMemoryShaderCache.cpp28 MemoryShaderCache::MemoryShaderCache(egl::BlobCache &blobCache) : mBlobCache(blobCache) {} in MemoryShaderCache()
36 const egl::BlobCache::Key &shaderHash) in getShader()
47 case egl::BlobCache::GetAndDecompressResult::DecompressFailure: in getShader()
52 case egl::BlobCache::GetAndDecompressResult::NotFound: in getShader()
55 case egl::BlobCache::GetAndDecompressResult::GetSuccess: in getShader()
81 const egl::BlobCache::Key &shaderHash, in putShader()
DMemoryShaderCache.h30 explicit MemoryShaderCache(egl::BlobCache &blobCache);
35 const egl::BlobCache::Key &shaderHash,
44 const egl::BlobCache::Key &shaderHash);
53 egl::BlobCache &mBlobCache;
DBlobCache_unittest.cpp19 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()
DDisplay.cpp2386 return static_cast<EGLint>(BlobCache::kKeyLength); in programCacheGetAttrib()
2405 const BlobCache::Key *programHash = nullptr; in programCacheQuery()
2406 BlobCache::Value programBinary; in programCacheQuery()
2419 ASSERT(*keysize == static_cast<EGLint>(BlobCache::kKeyLength)); in programCacheQuery()
2420 memcpy(key, programHash->data(), BlobCache::kKeyLength); in programCacheQuery()
2437 *keysize = static_cast<EGLint>(BlobCache::kKeyLength); in programCacheQuery()
2447 ASSERT(keysize == static_cast<EGLint>(BlobCache::kKeyLength)); in programCachePopulate()
2449 BlobCache::Key programHash; in programCachePopulate()
2450 memcpy(programHash.data(), key, BlobCache::kKeyLength); in programCachePopulate()
DShader.h287 streamOut->writeBytes(mShaderHash.data(), egl::BlobCache::kKeyLength); in writeShaderKey()
325 egl::BlobCache::Key mShaderHash;
DDisplay.h222 BlobCache &getBlobCache() { return mBlobCache; } in getBlobCache()
403 BlobCache mBlobCache;
DProgram.cpp499 egl::BlobCache::Key programHash;
1141 egl::BlobCache::Key programHash = {0}; in linkImpl()
DvalidationEGL.cpp5333 if (binary && *keysize != static_cast<EGLint>(egl::BlobCache::kKeyLength)) in ValidateProgramCacheQueryANGLE()
5363 if (keysize != static_cast<EGLint>(egl::BlobCache::kKeyLength)) in ValidateProgramCachePopulateANGLE()
/external/angle/src/libANGLE/renderer/
DDisplayImpl.h34 class BlobCache; variable
108 void setBlobCache(egl::BlobCache *blobCache) { mBlobCache = blobCache; } in setBlobCache()
109 egl::BlobCache *getBlobCache() const { return mBlobCache; } in getBlobCache()
147 egl::BlobCache *mBlobCache;
/external/angle/src/libANGLE/renderer/metal/
Dmtl_library_cache.mm78 // Generates a key for the BlobCache based on the specified params.
105 // Copy the data as the life of the BlobCache is not necessarily the same as that of the
172 egl::BlobCache::Value value;
/external/angle/src/
DlibGLESv2.gni244 "src/libANGLE/BlobCache.h",
396 "src/libANGLE/BlobCache.cpp",
/external/angle/src/libANGLE/renderer/vulkan/
DRendererVk.cpp969 egl::BlobCache::Key *hashOut) in ComputePipelineCacheVkChunkKey()
1063 egl::BlobCache::Key chunkCacheHash; in CompressAndStorePipelineCacheVk()
1118 egl::BlobCache::Key chunkCacheHash; in GetAndDecompressPipelineCacheVk()
1120 egl::BlobCache::Value keyData; in GetAndDecompressPipelineCacheVk()
DRendererVk.h47 class BlobCache; variable
/external/skia/bazel/external/dawn/
DBUILD.bazel280 "src/dawn/native/BlobCache.cpp",
281 "src/dawn/native/BlobCache.h",
/external/angle/
DAndroid.bp2176 "src/libANGLE/BlobCache.cpp",
2177 "src/libANGLE/BlobCache.h",
3445 "src/libANGLE/BlobCache.cpp",