Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DMemoryProgramCache.cpp163 const egl::BlobCache::Key &programHash, in get() argument
166 return mBlobCache.get(context->getScratchBuffer(), programHash, programOut); in get()
176 void MemoryProgramCache::remove(const egl::BlobCache::Key &programHash) in remove() argument
178 mBlobCache.remove(programHash); in remove()
181 void MemoryProgramCache::putProgram(const egl::BlobCache::Key &programHash, in putProgram() argument
200 platform->cacheProgram(platform, programHash, serializedProgram.size(), in putProgram()
203 mBlobCache.put(programHash, std::move(serializedProgram)); in putProgram()
208 egl::BlobCache::Key programHash; in updateProgram() local
209 ComputeHash(context, program, &programHash); in updateProgram()
210 putProgram(programHash, context, program); in updateProgram()
[all …]
DMemoryProgramCache.h37 const egl::BlobCache::Key &programHash,
46 void remove(const egl::BlobCache::Key &programHash);
49 void putProgram(const egl::BlobCache::Key &programHash,
58 void putBinary(const egl::BlobCache::Key &programHash, const uint8_t *binary, size_t length);
DDisplay.cpp1448 const BlobCache::Key *programHash = nullptr; in programCacheQuery() local
1452 mMemoryProgramCache.getAt(static_cast<size_t>(index), &programHash, &programBinary); in programCacheQuery()
1463 memcpy(key, programHash->data(), BlobCache::kKeyLength); in programCacheQuery()
1492 BlobCache::Key programHash; in programCachePopulate() local
1493 memcpy(programHash.data(), key, BlobCache::kKeyLength); in programCachePopulate()
1495 mMemoryProgramCache.putBinary(programHash, reinterpret_cast<const uint8_t *>(binary), in programCachePopulate()
DProgram.cpp742 egl::BlobCache::Key programHash; member
1341 egl::BlobCache::Key programHash = {0}; in link() local
1346 angle::Result cacheResult = cache->getProgram(context, this, &programHash); in link()
1493 mLinkingState->programHash = programHash; in link()
1549 cache->putProgram(linkingState->programHash, linkingState->context, this); in resolveLinkImpl()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DMemoryProgramCache.cpp188 const egl::BlobCache::Key &programHash, in get() argument
192 return mBlobCache.get(context->getScratchBuffer(), programHash, programOut, programSizeOut); in get()
202 void MemoryProgramCache::remove(const egl::BlobCache::Key &programHash) in remove() argument
204 mBlobCache.remove(programHash); in remove()
207 angle::Result MemoryProgramCache::putProgram(const egl::BlobCache::Key &programHash, in putProgram() argument
234 platform->cacheProgram(platform, programHash, compressedData.size(), compressedData.data()); in putProgram()
236 mBlobCache.put(programHash, std::move(compressedData)); in putProgram()
242 egl::BlobCache::Key programHash; in updateProgram() local
243 ComputeHash(context, program, &programHash); in updateProgram()
244 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.cpp2086 const BlobCache::Key *programHash = nullptr; in programCacheQuery() local
2090 mMemoryProgramCache.getAt(static_cast<size_t>(index), &programHash, &programBinary); in programCacheQuery()
2101 memcpy(key, programHash->data(), BlobCache::kKeyLength); in programCacheQuery()
2130 BlobCache::Key programHash; in programCachePopulate() local
2131 memcpy(programHash.data(), key, BlobCache::kKeyLength); in programCachePopulate()
2133 if (!mMemoryProgramCache.putBinary(programHash, reinterpret_cast<const uint8_t *>(binary), in programCachePopulate()
DProgram.cpp837 egl::BlobCache::Key programHash; member
1526 egl::BlobCache::Key programHash = {0}; in linkImpl() local
1533 angle::Result cacheResult = cache->getProgram(context, this, &programHash); in linkImpl()
1673 mLinkingState->programHash = programHash; in linkImpl()
1738 if (cache->putProgram(linkingState->programHash, context, this) == angle::Result::Stop) in resolveLinkImpl()