Home
last modified time | relevance | path

Searched refs:programHash (Results 1 – 4 of 4) sorted by relevance

/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/
DMemoryProgramCache.cpp172 const egl::BlobCache::Key &programHash, in get() argument
175 return mBlobCache.get(context->getScratchBuffer(), programHash, programOut); in get()
185 void MemoryProgramCache::remove(const egl::BlobCache::Key &programHash) in remove() argument
187 mBlobCache.remove(programHash); in remove()
190 angle::Result MemoryProgramCache::putProgram(const egl::BlobCache::Key &programHash, in putProgram() argument
209 platform->cacheProgram(platform, programHash, serializedProgram.size(), in putProgram()
212 mBlobCache.put(programHash, std::move(serializedProgram)); in putProgram()
218 egl::BlobCache::Key programHash; in updateProgram() local
219 ComputeHash(context, program, &programHash); in updateProgram()
220 return putProgram(programHash, context, program); in updateProgram()
[all …]
DMemoryProgramCache.h37 const egl::BlobCache::Key &programHash,
46 void remove(const egl::BlobCache::Key &programHash);
49 angle::Result putProgram(const egl::BlobCache::Key &programHash,
58 ANGLE_NO_DISCARD bool putBinary(const egl::BlobCache::Key &programHash,
DDisplay.cpp1702 const BlobCache::Key *programHash = nullptr; in programCacheQuery() local
1706 mMemoryProgramCache.getAt(static_cast<size_t>(index), &programHash, &programBinary); in programCacheQuery()
1717 memcpy(key, programHash->data(), BlobCache::kKeyLength); in programCacheQuery()
1746 BlobCache::Key programHash; in programCachePopulate() local
1747 memcpy(programHash.data(), key, BlobCache::kKeyLength); in programCachePopulate()
1749 if (!mMemoryProgramCache.putBinary(programHash, reinterpret_cast<const uint8_t *>(binary), in programCachePopulate()
DProgram.cpp742 egl::BlobCache::Key programHash; member
1443 egl::BlobCache::Key programHash = {0}; in linkImpl() local
1449 angle::Result cacheResult = cache->getProgram(context, this, &programHash); in linkImpl()
1609 mLinkingState->programHash = programHash; in linkImpl()
1672 if (cache->putProgram(linkingState->programHash, context, this) == angle::Result::Stop) in resolveLinkImpl()