/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/flutter/skia/bench/ |
D | SkSLBench.cpp | 27 std::unique_ptr<SkSL::Program> program = fCompiler.convertProgram( in onDraw() 31 if (!fCompiler.errorCount()) { in onDraw() 32 fCompiler.optimize(*program); in onDraw() 34 printf("%s\n", fCompiler.errorText().c_str()); in onDraw() 43 SkSL::Compiler fCompiler; member in SkSLBench
|
/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/flutter/skia/src/gpu/effects/ |
D | GrSkSLFP.cpp | 25 fBaseProgram = fCompiler.convertProgram(fKind, SkSL::String(sksl), settings); in GrSkSLFPFactory() 26 if (fCompiler.errorCount()) { in GrSkSLFPFactory() 27 SkDebugf("%s\n", fCompiler.errorText().c_str()); in GrSkSLFPFactory() 30 SkASSERT(!fCompiler.errorCount()); in GrSkSLFPFactory() 58 if (&v->fType == fCompiler.context().fInt_Type.get() || in getSpecialization() 59 &v->fType == fCompiler.context().fShort_Type.get()) { in getSpecialization() 64 } else if (&v->fType == fCompiler.context().fFloat_Type.get() || in getSpecialization() 65 &v->fType == fCompiler.context().fHalf_Type.get()) { in getSpecialization() 70 } else if (&v->fType == fCompiler.context().fBool_Type.get()) { in getSpecialization() 74 } else if (&v->fType == fCompiler.context().fFloat4_Type.get() || in getSpecialization() [all …]
|
D | GrSkSLFP.h | 173 SkSL::Compiler fCompiler; variable
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLContext.cpp | 94 delete fCompiler; in ~GrGLContext() 98 if (!fCompiler) { in compiler() 99 fCompiler = new SkSL::Compiler(); in compiler() 101 return fCompiler; in compiler()
|
D | GrGLContext.h | 102 GrGLContext(ConstructorArgs&& args) : INHERITED(std::move(args)), fCompiler(nullptr) {} in GrGLContext() 104 mutable SkSL::Compiler* fCompiler; variable
|
/third_party/flutter/skia/tests/ |
D | SkSLInterpreterTest.cpp | 852 , fCompiler(*compiler) {} in JSONExternalValue() 855 return type() != *fCompiler.context().fVoid_Type; in canRead() 859 if (type() == *fCompiler.context().fInt_Type) { in read() 861 } else if (type() == *fCompiler.context().fFloat_Type) { in read() 863 } else if (type() == *fCompiler.context().fBool_Type) { in read() 874 return (SkSL::ExternalValue*) fCompiler.takeOwnership(std::unique_ptr<Symbol>( in getChild() 875 new JSONExternalValue(name, &v, &fCompiler))); in getChild() 882 SkSL::Compiler& fCompiler; member in JSONExternalValue 994 , fCompiler(compiler) in FunctionExternalValue() 1006 outTypes[0] = fCompiler.context().fFloat_Type.get(); in getCallParameterTypes() [all …]
|
/third_party/skia/modules/particles/include/ |
D | SkParticleBinding.h | 41 , fCompiler(compiler) in SkParticleExternalFunction() 46 SkSL::Compiler& fCompiler;
|
/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/flutter/skia/modules/particles/src/ |
D | SkParticleEffect.cpp | 34 , fCompiler(compiler) in SkParticleExternalValue() 41 SkSL::Compiler& fCompiler; member in SkParticleExternalValue 56 outTypes[0] = fCompiler.context().fFloat_Type.get(); in getCallParameterTypes() 101 outTypes[0] = fCompiler.context().fFloat_Type.get(); in getCallParameterTypes() 164 outTypes[0] = fCompiler.context().fFloat_Type.get(); in getCallParameterTypes()
|
/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnGpu.h | 67 return fCompiler.get(); in shaderCompiler() 147 std::unique_ptr<SkSL::Compiler> fCompiler; variable
|
D | GrDawnGpu.cpp | 52 , fCompiler(new SkSL::Compiler()) { in GrDawnGpu()
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlGpu.h | 90 SkSL::Compiler* shaderCompiler() const { return fCompiler.get(); } in shaderCompiler() 241 std::unique_ptr<SkSL::Compiler> fCompiler; variable
|
/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/flutter/skia/src/gpu/vk/ |
D | GrVkGpu.h | 125 return fCompiler; in shaderCompiler() 310 SkSL::Compiler* fCompiler; variable
|
/third_party/skia/src/gpu/ |
D | GrGpu.h | 69 SkSL::Compiler* shaderCompiler() const { return fCompiler.get(); } in shaderCompiler() 823 std::unique_ptr<SkSL::Compiler> fCompiler; variable
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLJIT.h | 298 Compiler& fCompiler; variable
|
/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
|