OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fsBuilder
(Results
1 - 4
of
4
) sorted by null
/external/skia/src/gpu/glsl/
GrGLSLBlend.cpp
14
static void hard_light(GrGLSLFragmentBuilder*
fsBuilder
,
21
fsBuilder
->codeAppendf("if (2.0 * %s.%c <= %s.a) {", src, component, src);
22
fsBuilder
->codeAppendf("%s.%c = 2.0 * %s.%c * %s.%c;",
24
fsBuilder
->codeAppend("} else {");
25
fsBuilder
->codeAppendf("%s.%c = %s.a * %s.a - 2.0 * (%s.a - %s.%c) * (%s.a - %s.%c);",
28
fsBuilder
->codeAppend("}");
30
fsBuilder
->codeAppendf("%s.rgb += %s.rgb * (1.0 - %s.a) + %s.rgb * (1.0 - %s.a);",
35
static void color_dodge_component(GrGLSLFragmentBuilder*
fsBuilder
,
40
fsBuilder
->codeAppendf("if (0.0 == %s.%c) {", dst, component);
41
fsBuilder
->codeAppendf("%s.%c = %s.%c * (1.0 - %s.a);"
[
all
...]
GrGLSLBlend.h
18
* Appends GLSL code to
fsBuilder
that assigns a specified blend of the srcColor and dstColor
21
void AppendMode(GrGLSLFragmentBuilder*
fsBuilder
, const char* srcColor,
24
void AppendRegionOp(GrGLSLFragmentBuilder*
fsBuilder
, const char* srcColor,
/external/skia/src/gpu/batches/
GrPLSPathRenderer.cpp
339
GrGLSLPPFragmentBuilder*
fsBuilder
= args.fFragBuilder;
340
SkAssertResult(
fsBuilder
->enableFeature(
342
SkAssertResult(
fsBuilder
->enableFeature(
344
fsBuilder
->declAppendf(GR_GL_PLS_PATH_DATA_DECL);
349
fsBuilder
->codeAppendf("highp vec2 firstSample = %s.xy - vec2(0.25);",
350
fsBuilder
->fragmentPosition());
351
fsBuilder
->codeAppendf("highp vec2 delta1 = %s;", delta1.fsIn());
352
fsBuilder
->codeAppendf("highp vec2 delta2 = %s;", delta2.fsIn());
353
fsBuilder
->codeAppendf("highp vec2 delta3 = %s;", delta3.fsIn());
358
fsBuilder
->codeAppendf("highp float d1 = dot(delta1, (firstSample - %s).yx) * 2.0;",
[
all
...]
/external/skia/experimental/SkPerlinNoiseShader2/
SkPerlinNoiseShader2.cpp
735
GrGLSLFragmentBuilder*
fsBuilder
= args.fFragBuilder;
737
SkString vCoords =
fsBuilder
->ensureFSCoords2D(args.fCoords, 0);
[
all
...]
Completed in 160 milliseconds