Searched refs:ShaderCache (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 41 static void setSaveDelay(ShaderCache& cache, unsigned int saveDelay) { in setSaveDelay() 49 static void terminate(ShaderCache& cache, bool saveContent) { in terminate() 60 static bool validateCache(ShaderCache& cache, std::vector<T> hash) { in validateCache() 132 ShaderCache::get().setFilename(cacheFile1.c_str()); in TEST() 133 ShaderCacheTestUtils::setSaveDelay(ShaderCache::get(), 0); // disable deferred save in TEST() 134 ShaderCache::get().initShaderDiskCache(); in TEST() 138 ASSERT_EQ(ShaderCache::get().load(GrProgramDescTest(432)), sk_sp<SkData>()); in TEST() 143 ShaderCache::get().store(GrProgramDescTest(100), *inVS.get()); in TEST() 145 ShaderCache::get().store(GrProgramDescTest(432), *inVS.get()); in TEST() 146 ASSERT_NE((outVS = ShaderCache::get().load(GrProgramDescTest(100))), sk_sp<SkData>()); in TEST() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ShaderCache.cpp | 37 ShaderCache::ShaderCache() { in ShaderCache() function in android::uirenderer::skiapipeline::ShaderCache 41 ShaderCache ShaderCache::sCache; 43 ShaderCache& ShaderCache::get() { in get() 47 bool ShaderCache::validateCache(const void* identity, ssize_t size) { in validateCache() 78 void ShaderCache::initShaderDiskCache(const void* identity, ssize_t size) { in initShaderDiskCache() 92 void ShaderCache::setFilename(const char* filename) { in setFilename() 97 BlobCache* ShaderCache::getBlobCacheLocked() { in getBlobCacheLocked() 102 sk_sp<SkData> ShaderCache::load(const SkData& key) { in load() 142 void ShaderCache::saveToDiskLocked() { in saveToDiskLocked() 154 void ShaderCache::store(const SkData& key, const SkData& data) { in store() [all …]
|
D | ShaderCache.h | 34 class ShaderCache : public GrContextOptions::PersistentCache { 40 ANDROID_API static ShaderCache& get(); 87 ShaderCache(); 90 ShaderCache(const ShaderCache&) = delete; 91 void operator=(const ShaderCache&) = delete; 206 static ShaderCache sCache;
|
D | SkiaVulkanPipeline.cpp | 75 ShaderCache::get().onVkFrameFlushed(mRenderThread.getGrContext()); in draw()
|
/frameworks/base/libs/hwui/renderthread/ |
D | CacheManager.cpp | 99 auto& cache = skiapipeline::ShaderCache::get(); in configureContext()
|
/frameworks/base/libs/hwui/ |
D | Android.bp | 163 "pipeline/skia/ShaderCache.cpp",
|
/frameworks/base/core/jni/ |
D | android_view_ThreadedRenderer.cpp | 1081 uirenderer::skiapipeline::ShaderCache::get().setFilename(skiaCacheArray); in android_view_ThreadedRenderer_setupShadersDiskCache()
|