Searched refs:fsBuilder (Results 1 – 4 of 4) sorted by relevance
/external/skqp/src/gpu/glsl/ |
D | GrGLSLBlend.cpp | 17 static void hard_light(GrGLSLFragmentBuilder* fsBuilder, in hard_light() argument 24 fsBuilder->codeAppendf("if (2.0 * %s.%c <= %s.a) {", src, component, src); in hard_light() 25 fsBuilder->codeAppendf("%s.%c = 2.0 * %s.%c * %s.%c;", in hard_light() 27 fsBuilder->codeAppend("} else {"); in hard_light() 28 fsBuilder->codeAppendf("%s.%c = %s.a * %s.a - 2.0 * (%s.a - %s.%c) * (%s.a - %s.%c);", in hard_light() 31 fsBuilder->codeAppend("}"); in hard_light() 33 fsBuilder->codeAppendf("%s.rgb += %s.rgb * (1.0 - %s.a) + %s.rgb * (1.0 - %s.a);", in hard_light() 38 static void color_dodge_component(GrGLSLFragmentBuilder* fsBuilder, in color_dodge_component() argument 44 const GrShaderCaps* shaderCaps = fsBuilder->getProgramBuilder()->shaderCaps(); in color_dodge_component() 49 fsBuilder->codeAppendf("if (0.0 == %s.%c) {", dst, component); in color_dodge_component() [all …]
|
D | GrGLSLBlend.h | 21 void AppendMode(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor, 24 void AppendRegionOp(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor,
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLBlend.cpp | 49 void AppendMode(GrGLSLShaderBuilder* fsBuilder, in AppendMode() argument 54 fsBuilder->codeAppendf("%s = %s(%s, %s);", outColor, BlendFuncName(mode), srcColor, dstColor); in AppendMode()
|
D | GrGLSLBlend.h | 28 void AppendMode(GrGLSLShaderBuilder* fsBuilder,
|