Searched refs:addBuiltinFunction (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/sksl/ |
D | SkSLJIT.cpp | 128 void JIT::addBuiltinFunction(const char* ourName, const char* realName, LLVMTypeRef returnType, in addBuiltinFunction() function in SkSL::JIT 175 this->addBuiltinFunction("abs", "fabs", fFloat32Type, { fFloat32Type }); in loadBuiltinFunctions() 176 this->addBuiltinFunction("sin", "sinf", fFloat32Type, { fFloat32Type }); in loadBuiltinFunctions() 177 this->addBuiltinFunction("cos", "cosf", fFloat32Type, { fFloat32Type }); in loadBuiltinFunctions() 178 this->addBuiltinFunction("tan", "tanf", fFloat32Type, { fFloat32Type }); in loadBuiltinFunctions() 179 this->addBuiltinFunction("sqrt", "sqrtf", fFloat32Type, { fFloat32Type }); in loadBuiltinFunctions() 180 this->addBuiltinFunction("clamp", "sksl_clamp1", fFloat32Type, { fFloat32Type, in loadBuiltinFunctions() 183 this->addBuiltinFunction("clamp", "sksl_clamp2", fFloat32Vector2Type, { fFloat32Vector2Type, in loadBuiltinFunctions() 186 this->addBuiltinFunction("clamp", "sksl_clamp3", fFloat32Vector3Type, { fFloat32Vector3Type, in loadBuiltinFunctions() 189 this->addBuiltinFunction("clamp", "sksl_clamp4", fFloat32Vector4Type, { fFloat32Vector4Type, in loadBuiltinFunctions() [all …]
|
D | SkSLJIT.h | 142 void addBuiltinFunction(const char* ourName, const char* realName, LLVMTypeRef returnType,
|