Home
last modified time | relevance | path

Searched refs:GrPersistentCacheUtils (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp173 writer.writeInt(GrPersistentCacheUtils::GetCurrentVersion()); in storeShaderInCache()
191 GrPersistentCacheUtils::ShaderMetadata meta; in storeShaderInCache()
202 auto data = GrPersistentCacheUtils::PackCachedShaders(isSkSL ? kSKSL_Tag : kGLSL_Tag, in storeShaderInCache()
263 SkFourByteTag shaderType = GrPersistentCacheUtils::GetType(&reader); in finalize()
301 GrPersistentCacheUtils::UnpackCachedShaders(&reader, glsl, &inputs, 1); in finalize()
306 if (GrPersistentCacheUtils::UnpackCachedShaders(&reader, cached_sksl, &inputs, 1)) { in finalize()
549 SkFourByteTag shaderType = GrPersistentCacheUtils::GetType(&reader); in PrecompileProgram()
562 GrPersistentCacheUtils::ShaderMetadata meta; in PrecompileProgram()
567 if (!GrPersistentCacheUtils::UnpackCachedShaders(&reader, shaders, &inputs, 1, &meta)) { in PrecompileProgram()
/external/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp115 if (!GrPersistentCacheUtils::UnpackCachedShaders(cached, shaders, inputs, kGrShaderTypeCount)) { in loadShadersFromCache()
166 sk_sp<SkData> data = GrPersistentCacheUtils::PackCachedShaders(isSkSL ? kSKSL_Tag : kSPIRV_Tag, in storeShadersInCache()
233 shaderType = GrPersistentCacheUtils::GetType(&reader); in finalize()
255 if (GrPersistentCacheUtils::UnpackCachedShaders(&reader, cached_sksl, inputs, in finalize()
/external/skia/tools/gpu/
DMemoryCache.cpp100 GrPersistentCacheUtils::GetType(&reader); // Shader type tag in writeShadersToDisk()
101 GrPersistentCacheUtils::UnpackCachedShaders(&reader, shaders, in writeShadersToDisk()
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm16 #include "src/gpu/GrPersistentCacheUtils.h"
81 GrPersistentCacheUtils::ShaderMetadata meta;
85 sk_sp<SkData> data = GrPersistentCacheUtils::PackCachedShaders(tag, shaders, inputs,
555 shaderType = GrPersistentCacheUtils::GetType(&reader);
566 GrPersistentCacheUtils::UnpackCachedShaders(&reader, msl, inputs,
573 if (GrPersistentCacheUtils::UnpackCachedShaders(&reader, cached_sksl, inputs,
735 SkFourByteTag shaderType = GrPersistentCacheUtils::GetType(&reader);
741 GrPersistentCacheUtils::ShaderMetadata meta;
746 if (!GrPersistentCacheUtils::UnpackCachedShaders(&reader, shaders, inputs, kGrShaderTypeCount,
/external/skia/src/gpu/
DGrPersistentCacheUtils.h20 namespace GrPersistentCacheUtils {
DGrPersistentCacheUtils.cpp14 namespace GrPersistentCacheUtils { namespace
/external/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.cpp123 if (!GrPersistentCacheUtils::UnpackCachedShaders(reader, hlsl, inputs, kGrShaderTypeCount)) { in loadHLSLFromCache()
600 shaderType = GrPersistentCacheUtils::GetType(&reader); in finalize()
620 if (GrPersistentCacheUtils::UnpackCachedShaders(&reader, cached_sksl, inputs, in finalize()
658 sk_sp<SkData> data = GrPersistentCacheUtils::PackCachedShaders( in finalize()
/external/skia/tools/viewer/
DViewer.cpp2392 entry.fShaderType = GrPersistentCacheUtils::GetType(&reader); in drawImGui()
2393 GrPersistentCacheUtils::UnpackCachedShaders(&reader, entry.fShader, in drawImGui()
2538 auto data = GrPersistentCacheUtils::PackCachedShaders(entry.fShaderType, in drawImGui()
/external/skia/gn/
Dgpu.gni148 "$_src/gpu/GrPersistentCacheUtils.cpp",
149 "$_src/gpu/GrPersistentCacheUtils.h",
/external/skia/
DAndroid.bp476 "src/gpu/GrPersistentCacheUtils.cpp",
1460 "src/gpu/GrPersistentCacheUtils.cpp",