/third_party/skia/src/sksl/ |
D | SkSLThreadContext.cpp | 22 : fCompiler(compiler) in ThreadContext() 23 , fOldErrorReporter(*fCompiler->fContext->fErrors) in ThreadContext() 25 fOldModifiersPool = fCompiler->fContext->fModifiersPool; in ThreadContext() 27 fOldConfig = fCompiler->fContext->fConfig; in ThreadContext() 35 fCompiler->fContext->fModifiersPool = fModifiersPool.get(); in ThreadContext() 42 fCompiler->fContext->fConfig = fConfig.get(); in ThreadContext() 43 fCompiler->fContext->fErrors = &fDefaultErrorReporter; in ThreadContext() 44 fCompiler->fContext->fIntrinsics = module.fIntrinsics.get(); in ThreadContext() 45 if (fCompiler->fContext->fIntrinsics) { in ThreadContext() 46 fCompiler->fContext->fIntrinsics->resetAlreadyIncluded(); in ThreadContext() [all …]
|
D | SkSLCompiler.h | 206 : fCompiler(*compiler) {} in CompilerErrorReporter() 209 fCompiler.handleError(msg, pos); in handleError() 213 Compiler& fCompiler;
|
D | SkSLThreadContext.h | 56 static SkSL::Compiler& Compiler() { return *Instance().fCompiler; } in Compiler() 198 SkSL::Compiler* fCompiler; variable
|
D | SkSLCompiler.cpp | 91 : fCompiler(compiler) { in AutoSource() 92 SkASSERT(!fCompiler->errorReporter().source()); in AutoSource() 93 fCompiler->errorReporter().setSource(source); in AutoSource() 97 fCompiler->errorReporter().setSource(nullptr); in ~AutoSource() 100 Compiler* fCompiler; member in SkSL::AutoSource
|
D | SkSLDSLParser.cpp | 101 : fCompiler(*compiler) in DSLParser() 222 ErrorReporter* errorReporter = &fCompiler.errorReporter(); in program() 223 Start(&fCompiler, fKind, fSettings); in program() 237 ErrorReporter* errorReporter = &fCompiler.errorReporter(); in moduleInheritingFrom() 238 StartModule(&fCompiler, fKind, fSettings, std::move(baseModule)); in moduleInheritingFrom()
|
D | SkSLDSLParser.h | 335 Compiler& fCompiler; variable
|
/third_party/skia/bench/ |
D | SkSLBench.cpp | 61 , fCompiler(fCaps.shaderCaps()) in SkSLCompileBench() 81 std::unique_ptr<SkSL::Program> program = SkSL::DSLParser(&fCompiler, in onDraw() 85 if (fCompiler.errorCount()) { in onDraw() 86 SK_ABORT("shader compilation failed: %s\n", fCompiler.errorText().c_str()); in onDraw() 91 case Output::kGLSL: SkAssertResult(fCompiler.toGLSL(*program, &result)); break; in onDraw() 92 case Output::kMetal: SkAssertResult(fCompiler.toMetal(*program, &result)); break; in onDraw() 93 case Output::kSPIRV: SkAssertResult(fCompiler.toSPIRV(*program, &result)); break; in onDraw() 102 SkSL::Compiler fCompiler; member in SkSLCompileBench
|
/third_party/skia/tests/ |
D | SkSLInterpreterTest.cpp | 18 : fCompiler(&fCaps) { in ProgramBuilder() 26 fProgram = fCompiler.convertProgram(SkSL::ProgramKind::kGeneric, SkSL::String(src), in ProgramBuilder() 29 ERRORF(r, "Program failed to compile:\n%s\n%s\n", src, fCompiler.errorText().c_str()); in ProgramBuilder() 37 SkSL::Compiler fCompiler; member 873 , fCompiler(compiler) {} in ExternalSqrt() 878 outTypes[0] = fCompiler.context().fTypes.fFloat.get(); in getCallParameterTypes() 889 SkSL::Compiler& fCompiler; member in ExternalSqrt 920 , fCompiler(compiler) in ExternalTable() 928 outTypes[0] = fCompiler.context().fTypes.fFloat.get(); in getCallParameterTypes() 941 SkSL::Compiler& fCompiler; member in ExternalTable
|
D | SkDSLRuntimeEffectTest.cpp | 33 , fCompiler(std::make_unique<SkSL::Compiler>(fCaps.get())) in DSLTestEffect() 37 StartRuntimeShader(fCompiler.get()); in start() 106 std::unique_ptr<SkSL::Compiler> fCompiler; member in DSLTestEffect
|
/third_party/skia/modules/particles/include/ |
D | SkParticleBinding.h | 41 , fCompiler(compiler) in SkParticleExternalFunction() 46 SkSL::Compiler& fCompiler;
|
/third_party/skia/modules/particles/src/ |
D | SkParticleBinding.cpp | 60 outTypes[0] = fCompiler.context().fTypes.fFloat.get(); in getCallParameterTypes() 178 outTypes[0] = fCompiler.context().fTypes.fFloat2.get(); in getCallParameterTypes()
|
/third_party/skia/src/gpu/ |
D | GrGpu.h | 83 SkSL::Compiler* shaderCompiler() const { return fCompiler.get(); } in shaderCompiler() 837 std::unique_ptr<SkSL::Compiler> fCompiler; variable
|
D | GrGpu.cpp | 46 fCompiler = std::make_unique<SkSL::Compiler>(fCaps->shaderCaps()); in initCapsAndCompiler()
|
/third_party/skia/src/core/ |
D | SkRuntimeEffect.cpp | 61 SkSL::Compiler* operator->() const { return gImpl->fCompiler; } in operator ->() 93 fCompiler = new SkSL::Compiler(fCaps.get()); in Impl() 97 SkSL::Compiler* fCompiler; member
|
/third_party/skia/src/sksl/dsl/ |
D | DSLCore.cpp | 73 SkSL::Compiler& compiler = *instance.fCompiler; in ReleaseProgram()
|