Home
last modified time | relevance | path

Searched refs:writef (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/sksl/
DSkSLHCodeGenerator.cpp49 void HCodeGenerator::writef(const char* s, va_list va) { in writef() function in SkSL::HCodeGenerator
64 void HCodeGenerator::writef(const char* s, ...) { in writef() function in SkSL::HCodeGenerator
67 this->writef(s, va); in writef()
74 this->writef("%s%s", prefix, s->fText.c_str()); in writeSection()
108 this->writef("%s%s", separator, lastIdentifier); in writeExtraConstructorParams()
118 this->writef("%s%s", separator, lastIdentifier); in writeExtraConstructorParams()
126 this->writef(" static sk_sp<GrFragmentProcessor> Make("); in writeMake()
129 this->writef("%s%s %s", separator, ParameterType(param->fType).c_str(), in writeMake()
134 this->writef(") {\n" in writeMake()
139 this->writef("%s%s", separator, param->fName.c_str()); in writeMake()
[all …]
DSkSLCPPCodeGenerator.cpp29 void CPPCodeGenerator::writef(const char* s, va_list va) { in writef() function in SkSL::CPPCodeGenerator
44 void CPPCodeGenerator::writef(const char* s, ...) { in writef() function in SkSL::CPPCodeGenerator
47 this->writef(s, va); in writef()
300 this->writef("%s%s", prefix, s->fText.c_str()); in writeSection()
350 this->writef(" if (%s) {\n ", var.fModifiers.fLayout.fWhen.c_str()); in addUniform()
353 this->writef(" %sVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, %s, " in addUniform()
367 this->writef("%s %s;\n", in writePrivateVars()
383 this->writef("%s = %s;\n", in writePrivateVarValues()
395 this->writef(" const %s& _outer = args.fFp.cast<%s>();\n" in writeEmitCode()
406 this->writef(" fColorSpaceHelper.emitCode(args.fUniformHandler, " in writeEmitCode()
[all …]
DSkSLHCodeGenerator.h48 void writef(const char* s, va_list va) SKSL_PRINTF_LIKE(2, 0);
50 void writef(const char* s, ...) SKSL_PRINTF_LIKE(2, 3);
DSkSLCPPCodeGenerator.h26 void writef(const char* s, va_list va) SKSL_PRINTF_LIKE(2, 0);
28 void writef(const char* s, ...) SKSL_PRINTF_LIKE(2, 3);