Searched refs:GrPersistentCacheUtils (Results 1 – 10 of 10) sorted by relevance
/third_party/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 173 writer.writeInt(GrPersistentCacheUtils::GetCurrentVersion()); in storeShaderInCache() 191 GrPersistentCacheUtils::ShaderMetadata meta; in storeShaderInCache() 202 auto data = GrPersistentCacheUtils::PackCachedShaders(isSkSL ? kSKSL_Tag : kGLSL_Tag, in storeShaderInCache() 286 SkFourByteTag shaderType = GrPersistentCacheUtils::GetType(&reader); in finalize() 324 GrPersistentCacheUtils::UnpackCachedShaders(&reader, glsl, &inputs, 1); in finalize() 329 if (GrPersistentCacheUtils::UnpackCachedShaders(&reader, cached_sksl, &inputs, 1)) { in finalize() 554 SkFourByteTag shaderType = GrPersistentCacheUtils::GetType(&reader); in PrecompileProgram() 567 GrPersistentCacheUtils::ShaderMetadata meta; in PrecompileProgram() 572 if (!GrPersistentCacheUtils::UnpackCachedShaders(&reader, shaders, &inputs, 1, &meta)) { in PrecompileProgram()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkPipelineStateBuilder.cpp | 115 if (!GrPersistentCacheUtils::UnpackCachedShaders(cached, shaders, inputs, kGrShaderTypeCount)) { in loadShadersFromCache() 157 sk_sp<SkData> data = GrPersistentCacheUtils::PackCachedShaders(isSkSL ? kSKSL_Tag : kSPIRV_Tag, in storeShadersInCache() 215 shaderType = GrPersistentCacheUtils::GetType(&reader); in finalize() 236 if (GrPersistentCacheUtils::UnpackCachedShaders(&reader, cached_sksl, inputs, in finalize()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlPipelineStateBuilder.mm | 16 #include "src/gpu/GrPersistentCacheUtils.h" 81 GrPersistentCacheUtils::ShaderMetadata meta; 85 sk_sp<SkData> data = GrPersistentCacheUtils::PackCachedShaders(tag, shaders, inputs, 559 shaderType = GrPersistentCacheUtils::GetType(&reader); 570 GrPersistentCacheUtils::UnpackCachedShaders(&reader, msl, inputs, 577 if (GrPersistentCacheUtils::UnpackCachedShaders(&reader, cached_sksl, inputs, 743 SkFourByteTag shaderType = GrPersistentCacheUtils::GetType(&reader); 749 GrPersistentCacheUtils::ShaderMetadata meta; 754 if (!GrPersistentCacheUtils::UnpackCachedShaders(&reader, shaders, inputs, kGrShaderTypeCount,
|
/third_party/skia/tools/gpu/ |
D | MemoryCache.cpp | 100 GrPersistentCacheUtils::GetType(&reader); // Shader type tag in writeShadersToDisk() 101 GrPersistentCacheUtils::UnpackCachedShaders(&reader, shaders, in writeShadersToDisk()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DPipelineStateBuilder.cpp | 120 if (!GrPersistentCacheUtils::UnpackCachedShaders(reader, hlsl, inputs, kGrShaderTypeCount)) { in loadHLSLFromCache() 585 shaderType = GrPersistentCacheUtils::GetType(&reader); in finalize() 604 if (GrPersistentCacheUtils::UnpackCachedShaders(&reader, cached_sksl, inputs, in finalize() 636 sk_sp<SkData> data = GrPersistentCacheUtils::PackCachedShaders( in finalize()
|
/third_party/skia/src/gpu/ |
D | GrPersistentCacheUtils.h | 20 namespace GrPersistentCacheUtils {
|
D | GrPersistentCacheUtils.cpp | 14 namespace GrPersistentCacheUtils { namespace
|
D | BUILD.bazel | 116 "GrPersistentCacheUtils.cpp", 117 "GrPersistentCacheUtils.h",
|
/third_party/skia/tools/viewer/ |
D | Viewer.cpp | 2494 entry.fShaderType = GrPersistentCacheUtils::GetType(&reader); in drawImGui() 2495 GrPersistentCacheUtils::UnpackCachedShaders(&reader, entry.fShader, in drawImGui() 2640 auto data = GrPersistentCacheUtils::PackCachedShaders(entry.fShaderType, in drawImGui()
|
/third_party/skia/gn/ |
D | gpu.gni | 136 "$_src/gpu/GrPersistentCacheUtils.cpp", 137 "$_src/gpu/GrPersistentCacheUtils.h",
|