Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/
DMemoryProgramCache.cpp184 const egl::BlobCache::Key &programHash, in get() argument
188 return mBlobCache.get(context->getScratchBuffer(), programHash, programOut, programSizeOut); in get()
198 void MemoryProgramCache::remove(const egl::BlobCache::Key &programHash) in remove() argument
200 mBlobCache.remove(programHash); in remove()
203 angle::Result MemoryProgramCache::putProgram(const egl::BlobCache::Key &programHash, in putProgram() argument
230 platform->cacheProgram(platform, programHash, compressedData.size(), compressedData.data()); in putProgram()
232 mBlobCache.put(programHash, std::move(compressedData)); in putProgram()
238 egl::BlobCache::Key programHash; in updateProgram() local
239 ComputeHash(context, program, &programHash); in updateProgram()
240 return putProgram(programHash, context, program); in updateProgram()
[all …]
DMemoryProgramCache.h37 const egl::BlobCache::Key &programHash,
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,
DDisplay.cpp2008 const BlobCache::Key *programHash = nullptr; in programCacheQuery() local
2012 mMemoryProgramCache.getAt(static_cast<size_t>(index), &programHash, &programBinary); in programCacheQuery()
2023 memcpy(key, programHash->data(), BlobCache::kKeyLength); in programCacheQuery()
2052 BlobCache::Key programHash; in programCachePopulate() local
2053 memcpy(programHash.data(), key, BlobCache::kKeyLength); in programCachePopulate()
2055 if (!mMemoryProgramCache.putBinary(programHash, reinterpret_cast<const uint8_t *>(binary), in programCachePopulate()
DProgram.cpp796 egl::BlobCache::Key programHash; member
1486 egl::BlobCache::Key programHash = {0}; in linkImpl() local
1493 angle::Result cacheResult = cache->getProgram(context, this, &programHash); in linkImpl()
1636 mLinkingState->programHash = programHash; in linkImpl()
1701 if (cache->putProgram(linkingState->programHash, context, this) == angle::Result::Stop) in resolveLinkImpl()