Home
last modified time | relevance | path

Searched refs:fFormatArgs (Results 1 – 7 of 7) sorted by relevance

/external/skqp/src/sksl/
DSkSLCPPCodeGenerator.cpp98 fFormatArgs.push_back(name + ".c_str()"); in writeIndexExpression()
114 fFormatArgs.push_back(" fragBuilder->getProgramBuilder()->samplerVariable(" in writeIndexExpression()
158 fFormatArgs.push_back(cppCode); in writeRuntimeValue()
161 fFormatArgs.push_back(cppCode); in writeRuntimeValue()
164 fFormatArgs.push_back("(" + cppCode + " ? \"true\" : \"false\")"); in writeRuntimeValue()
167 fFormatArgs.push_back(cppCode + ".fX"); in writeRuntimeValue()
168 fFormatArgs.push_back(cppCode + ".fY"); in writeRuntimeValue()
173 fFormatArgs.push_back("SkGetPackedR32(" + cppCode + ") / 255.0"); in writeRuntimeValue()
174 fFormatArgs.push_back("SkGetPackedG32(" + cppCode + ") / 255.0"); in writeRuntimeValue()
175 fFormatArgs.push_back("SkGetPackedB32(" + cppCode + ") / 255.0"); in writeRuntimeValue()
[all …]
DSkSLPipelineStageCodeGenerator.cpp25 , fFormatArgs(outFormatArgs) {} in PipelineStageCodeGenerator()
105 fFormatArgs->push_back(Compiler::FormatArg(Compiler::FormatArg::Kind::kChildProcessor, in writeFunctionCall()
120 fFormatArgs->push_back(Compiler::FormatArg(Compiler::FormatArg::Kind::kInput)); in writeVariableReference()
124 fFormatArgs->push_back(Compiler::FormatArg(Compiler::FormatArg::Kind::kOutput)); in writeVariableReference()
157 fFormatArgs->push_back(Compiler::FormatArg(Compiler::FormatArg::Kind::kUniform, in writeVariableReference()
187 fFormatArgs->push_back(Compiler::FormatArg(Compiler::FormatArg::Kind::kOutput)); in writeFunction()
188 fFormatArgs->push_back(Compiler::FormatArg(Compiler::FormatArg::Kind::kInput)); in writeFunction()
DSkSLPipelineStageCodeGenerator.h60 std::vector<Compiler::FormatArg>* fFormatArgs; variable
DSkSLCPPCodeGenerator.h125 std::vector<String> fFormatArgs; variable
/external/skia/src/sksl/codegen/
DSkSLCPPCodeGenerator.cpp234 this->write(this->formatRuntimeValue(type, layout, cppCode, &fFormatArgs)); in writeRuntimeValue()
286 fFormatArgs.push_back(String("args.fSampleCoord")); in writeVariableReference()
293 fFormatArgs.push_back("fragBuilder->getProgramBuilder()->samplerVariable(" + in writeVariableReference()
311 fFormatArgs.push_back(code); in writeVariableReference()
419 fFormatArgs.push_back(childName + ".c_str()"); in writeFunctionCall()
426 fFormatArgs.push_back((String(function.name()) + "_name.c_str()").c_str()); in writeFunctionCall()
442 fFormatArgs.push_back("fragBuilder->getProgramBuilder()->samplerSwizzle(" + sampler + in writeFunctionCall()
556 if (!fFormatArgs.empty()) { in writeFunction()
822 result += fFormatArgs[i].c_str(); in assembleCodeAndFormatArgPrintf()
828 fFormatArgs.erase(fFormatArgs.begin(), fFormatArgs.begin() + argCount); in assembleCodeAndFormatArgPrintf()
[all …]
DSkSLCPPCodeGenerator.h137 std::vector<String> fFormatArgs; variable
/external/skqp/src/gpu/effects/
DGrSkSLFP.cpp90 , fFormatArgs(formatArgs) {} in GrGLSLSkSLFP()
147 SkSL::Compiler::FormatArg& arg = fFormatArgs[formatArgIndex++]; in emitCode()
230 std::vector<SkSL::Compiler::FormatArg> fFormatArgs; member in GrGLSLSkSLFP