Home
last modified time | relevance | path

Searched refs:emitFunction (Results 1 – 24 of 24) sorted by relevance

/external/skia/tests/sksl/fp/
DGrFunctionReturnTypes.cpp66 … fragBuilder->emitFunction(kFloat_GrSLType, returns_float_name.c_str(), {returns_float_args, 0}, in emitCode()
69 … fragBuilder->emitFunction(kFloat2_GrSLType, returns_float2_name.c_str(), {returns_float2_args, 0}, in emitCode()
72 … fragBuilder->emitFunction(kFloat3_GrSLType, returns_float3_name.c_str(), {returns_float3_args, 0}, in emitCode()
75 … fragBuilder->emitFunction(kFloat4_GrSLType, returns_float4_name.c_str(), {returns_float4_args, 0}, in emitCode()
78 …fragBuilder->emitFunction(kFloat2x2_GrSLType, returns_float2x2_name.c_str(), {returns_float2x2_arg… in emitCode()
81 …fragBuilder->emitFunction(kFloat3x3_GrSLType, returns_float3x3_name.c_str(), {returns_float3x3_arg… in emitCode()
84 …fragBuilder->emitFunction(kFloat4x4_GrSLType, returns_float4x4_name.c_str(), {returns_float4x4_arg… in emitCode()
87 fragBuilder->emitFunction(kHalf_GrSLType, returns_half_name.c_str(), {returns_half_args, 0}, in emitCode()
90 … fragBuilder->emitFunction(kHalf2_GrSLType, returns_half2_name.c_str(), {returns_half2_args, 0}, in emitCode()
93 … fragBuilder->emitFunction(kHalf3_GrSLType, returns_half3_name.c_str(), {returns_half3_args, 0}, in emitCode()
[all …]
DGrGrSLTypesAreSupported.cpp34 fragBuilder->emitFunction(kInt_GrSLType, test_i_name.c_str(), {test_i_args, 1}, in emitCode()
39 fragBuilder->emitFunction(kInt2_GrSLType, test_i2_name.c_str(), {test_i2_args, 1}, in emitCode()
44 fragBuilder->emitFunction(kInt3_GrSLType, test_i3_name.c_str(), {test_i3_args, 1}, in emitCode()
49 fragBuilder->emitFunction(kInt4_GrSLType, test_i4_name.c_str(), {test_i4_args, 1}, in emitCode()
54 fragBuilder->emitFunction(kHalf3x3_GrSLType, test_h3x3_name.c_str(), {test_h3x3_args, 1}, in emitCode()
59 fragBuilder->emitFunction(kFloat2x2_GrSLType, test_f2x2_name.c_str(), {test_f2x2_args, 1}, in emitCode()
DGrFunctionArgTypes.cpp34 fragBuilder->emitFunction(kBool_GrSLType, takes_float_name.c_str(), {takes_float_args, 4}, in emitCode()
37 …fragBuilder->emitFunction(kBool_GrSLType, takes_float_matrix_name.c_str(), {takes_float_matrix_arg… in emitCode()
40 fragBuilder->emitFunction(kBool_GrSLType, takes_half_name.c_str(), {takes_half_args, 4}, in emitCode()
43 …fragBuilder->emitFunction(kBool_GrSLType, takes_half_matrix_name.c_str(), {takes_half_matrix_args,… in emitCode()
46 fragBuilder->emitFunction(kBool_GrSLType, takes_bool_name.c_str(), {takes_bool_args, 4}, in emitCode()
49 fragBuilder->emitFunction(kBool_GrSLType, takes_int_name.c_str(), {takes_int_args, 4}, in emitCode()
DGrNestedCall.cpp34 …fragBuilder->emitFunction(kHalf4_GrSLType, func1_name.c_str(), {func1_args, 0}, func1_impl.c_str()… in emitCode()
38 …fragBuilder->emitFunction(kHalf4_GrSLType, func2_name.c_str(), {func2_args, 0}, func2_impl.c_str()… in emitCode()
DGrFunction.cpp25 fragBuilder->emitFunction(kHalf4_GrSLType, flip_name.c_str(), {flip_args, 1}, in emitCode()
/external/skia/src/gpu/glsl/
DGrGLSLShaderBuilder.cpp65 void GrGLSLShaderBuilder::emitFunction(GrSLType returnType, in emitFunction() function in GrGLSLShaderBuilder
75 void GrGLSLShaderBuilder::emitFunction(const char* declaration, const char* body) { in emitFunction() function in GrGLSLShaderBuilder
202 this->emitFunction(kHalf_GrSLType, funcName.c_str(), {gTFArgs, SK_ARRAY_COUNT(gTFArgs)}, in appendColorGamutXform()
227 this->emitFunction(kHalf4_GrSLType, gamutXformFuncName.c_str(), in appendColorGamutXform()
263 this->emitFunction(kHalf4_GrSLType, colorXformFuncName.c_str(), in appendColorGamutXform()
DGrGLSLShaderBuilder.h147 void emitFunction(GrSLType returnType,
152 void emitFunction(const char* declaration, const char* body);
DGrGLSLFragmentShaderBuilder.cpp79 this->emitFunction(kHalf4_GrSLType, funcName.c_str(), {params, paramCount}, in writeProcessorFunction()
/external/skqp/src/gpu/glsl/
DGrGLSLShaderBuilder.cpp43 void GrGLSLShaderBuilder::emitFunction(GrSLType returnType, in emitFunction() function in GrGLSLShaderBuilder
132 this->emitFunction(kHalf_GrSLType, name, SK_ARRAY_COUNT(gTFArgs), gTFArgs, body.c_str(), in appendColorGamutXform()
154 this->emitFunction(kHalf4_GrSLType, "gamut_xform", SK_ARRAY_COUNT(gGamutXformArgs), in appendColorGamutXform()
184 this->emitFunction(kHalf4_GrSLType, "color_xform", SK_ARRAY_COUNT(gColorXformArgs), in appendColorGamutXform()
DGrGLSLBlend.cpp150 fsBuilder->emitFunction(kHalf_GrSLType, in add_lum_function()
178 fsBuilder->emitFunction(kHalf3_GrSLType, in add_lum_function()
195 fsBuilder->emitFunction(kHalf_GrSLType, in add_sat_function()
221 fsBuilder->emitFunction(kHalf3_GrSLType, in add_sat_function()
252 fsBuilder->emitFunction(kHalf3_GrSLType, in add_sat_function()
DGrGLSLShaderBuilder.h120 void emitFunction(GrSLType returnType,
/external/skqp/src/gpu/effects/
DGrSRGBEffect.cpp27 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
36 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
/external/skia/tests/sksl/errors/
DGrRecursion.cpp27 …fragBuilder->emitFunction(kInt_GrSLType, factorial_name.c_str(), {factorial_args, 1}, factorial_im… in emitCode()
/external/skia/src/gpu/effects/generated/
DGrClampFragmentProcessor.cpp31 fragBuilder->emitFunction(kHalf4_GrSLType, in emitCode()
/external/skqp/src/shaders/
DSkPerlinNoiseShader.cpp1008 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1012 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1270 fragBuilder->emitFunction(kHalf3_GrSLType, "fade", SK_ARRAY_COUNT(fadeArgs), in emitCode()
1286 fragBuilder->emitFunction(kHalf_GrSLType, "perm", SK_ARRAY_COUNT(permArgs), permArgs, in emitCode()
1299 fragBuilder->emitFunction(kHalf_GrSLType, "grad", SK_ARRAY_COUNT(gradArgs), gradArgs, in emitCode()
1309 fragBuilder->emitFunction(kHalf_GrSLType, "lerp", SK_ARRAY_COUNT(lerpArgs), lerpArgs, in emitCode()
1346 fragBuilder->emitFunction(kHalf_GrSLType, "noise", SK_ARRAY_COUNT(noiseArgs), noiseArgs, in emitCode()
1363 fragBuilder->emitFunction(kHalf_GrSLType, "noiseOctaves", SK_ARRAY_COUNT(noiseOctavesArgs), in emitCode()
/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp1836 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1848 fragBuilder->emitFunction(kHalf3_GrSLType, in emitCode()
1863 fragBuilder->emitFunction(kHalf3_GrSLType, in emitCode()
1951 fragBuilder->emitFunction(kHalf4_GrSLType, in emitLightFunc()
2050 fragBuilder->emitFunction(kHalf4_GrSLType, in emitLightFunc()
2183 fragBuilder->emitFunction(kHalf3_GrSLType, in emitLightColor()
/external/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp1768 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
1778 fragBuilder->emitFunction(kHalf3_GrSLType, in emitCode()
1791 fragBuilder->emitFunction(kHalf3_GrSLType, in emitCode()
1861 fragBuilder->emitFunction(kHalf4_GrSLType, in emitLightFunc()
1969 fragBuilder->emitFunction(kHalf4_GrSLType, in emitLightFunc()
2110 fragBuilder->emitFunction(kHalf3_GrSLType, in emitLightColor()
/external/skqp/src/effects/
DSkHighContrastFilter.cpp306 fragBuilder->emitFunction(kHalf_GrSLType, in emitCode()
/external/skia/src/gpu/effects/
DGrSkSLFP.cpp86 fArgs.fFragBuilder->emitFunction(decl, body); in emitCode()
/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor_GSImpl.cpp80 g->emitFunction(kVoid_GrSLType, "emitVertex", emitArgs.count(), emitArgs.begin(), [&]() { in emitGeometryShader()
/external/skqp/src/gpu/
DGrDefaultGeoProcFactory.cpp293 vertBuilder->emitFunction(kFloat2_GrSLType, in emitApplyBoneFunction()
/external/skia/src/shaders/
DSkPerlinNoiseShader.cpp817 fragBuilder->emitFunction(kHalf_GrSLType, noiseFuncName.c_str(), in emitCode()
821 fragBuilder->emitFunction(kHalf_GrSLType, noiseFuncName.c_str(), in emitCode()
/external/skqp/src/gpu/ops/
DGrOvalOpFactory.cpp389 fragBuilder->emitFunction(kFloat_GrSLType, "coverage_from_dash_edge", in onEmitCode()
/external/skia/src/gpu/ops/
DGrOvalOpFactory.cpp414 fragBuilder->emitFunction(kFloat_GrSLType, fnName.c_str(), in onEmitCode()