Home
last modified time | relevance | path

Searched refs:GrGLSLExpr4 (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLSL_impl.h111 inline const char* GrGLSLExpr4::ZerosStr() { in ZerosStr()
115 inline const char* GrGLSLExpr4::OnesStr() { in OnesStr()
119 inline const char* GrGLSLExpr4::CastStr() { in CastStr()
123 inline const char* GrGLSLExpr4::CastIntStr() { in CastIntStr()
127 inline GrGLSLExpr4 GrGLSLExpr4::VectorCast(const GrGLSLExpr1& expr) { in VectorCast()
131 inline GrGLSLExpr4 GrGLSLExpr4::VectorCast(const GrGLSLExpr4& expr) { in VectorCast()
135 inline GrGLSLExpr4::AExpr GrGLSLExpr4::a() const { in a()
136 return this->extractComponents<GrGLSLExpr4::AExpr>("%s.a"); in a()
139 inline GrGLSLExpr4 operator*(const GrGLSLExpr1& in0, const GrGLSLExpr4& in1) {
140 return GrGLSLExpr4::Mul(in0, in1);
[all …]
DGrGLSL.h222 class GrGLSLExpr4; variable
260 friend class GrGLSLExpr<GrGLSLExpr4>;
266 class GrGLSLExpr4 : public GrGLSLExpr<GrGLSLExpr4> {
268 GrGLSLExpr4() in GrGLSLExpr4() function
271 explicit GrGLSLExpr4(int v) in GrGLSLExpr4() function
274 GrGLSLExpr4(const char* expr) in GrGLSLExpr4() function
277 GrGLSLExpr4(const SkString& expr) in GrGLSLExpr4() function
285 static GrGLSLExpr4 VectorCast(const GrGLSLExpr1& expr);
286 static GrGLSLExpr4 VectorCast(const GrGLSLExpr4& expr);
289 GrGLSLExpr4(const char format[], const char in0[]) in GrGLSLExpr4() function
[all …]
DGrGLSL.cpp94 void GrGLSLMulVarBy4f(SkString* outAppend, const char* vec4VarName, const GrGLSLExpr4& mulFactor) { in GrGLSLMulVarBy4f()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h292 void nameExpression(GrGLSLExpr4*, const char* baseName);
293 bool emitAndInstallProcs(GrGLSLExpr4* inputColor, GrGLSLExpr4* inputCoverage);
294 void emitAndInstallFragProcs(int procOffset, int numProcs, GrGLSLExpr4* inOut);
297 const GrGLSLExpr4& input,
298 GrGLSLExpr4* output);
301 GrGLSLExpr4* outputColor,
302 GrGLSLExpr4* outputCoverage);
313 const GrGLSLExpr4& colorIn,
314 const GrGLSLExpr4& coverageIn);
DGrGLProgramBuilder.cpp67 GrGLSLExpr4 inputColor; in CreateProgram()
68 GrGLSLExpr4 inputCoverage; in CreateProgram()
194 bool GrGLProgramBuilder::emitAndInstallProcs(GrGLSLExpr4* inputColor, GrGLSLExpr4* inputCoverage) { in emitAndInstallProcs()
228 GrGLSLExpr4* inOut) { in emitAndInstallFragProcs()
230 GrGLSLExpr4 output; in emitAndInstallFragProcs()
237 void GrGLProgramBuilder::nameExpression(GrGLSLExpr4* output, const char* baseName) { in nameExpression()
255 const GrGLSLExpr4& input, in emitAndInstallProc()
256 GrGLSLExpr4* output) { in emitAndInstallProc()
272 GrGLSLExpr4* outputColor, in emitAndInstallProc()
273 GrGLSLExpr4* outputCoverage) { in emitAndInstallProc()
[all …]
DGrGLShaderBuilder.cpp128 this->codeAppend((GrGLSLExpr4(modulation) * GrGLSLExpr4(lookup)).c_str()); in appendTextureLookupAndModulate()
/external/skia/src/gpu/effects/
DGrBicubicEffect.cpp113 …fsBuilder->codeAppendf("\t%s = %s;\n", outputColor, (GrGLSLExpr4(bicubicColor.c_str()) * GrGLSLExp… in emitCode()
DGrDitherEffect.cpp104 outputColor, GrGLSLExpr4(inputColor).c_str()); in emitCode()
DGrConvexPolyEffect.cpp150 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
243 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
DGrOvalEffect.cpp160 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("d")).c_str()); in emitCode()
352 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
DGrRRectEffect.cpp287 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
587 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
/external/skia/src/effects/
DSkColorFilters.cpp186 GrGLSLExpr4 filter = in emitCode()
187 color_filter_expression(mode, GrGLSLExpr4(colorFilterColorUniName), in emitCode()
188 GrGLSLExpr4(inputColor)); in emitCode()
DSkAlphaThresholdFilter.cpp190 (GrGLSLExpr4(inputColor) * GrGLSLExpr4("color")).c_str()); in emitCode()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp1021 (GrGLSLExpr4(inputColor) * GrGLSLExpr4("colorTemp")).c_str()); in emitColor()
1045 (GrGLSLExpr4(inputColor) * GrGLSLExpr4("colorTemp")).c_str()); in emitColor()
/external/skia/gm/
Ddcshader.cpp83 outputColor, GrGLSLExpr4(inputColor).c_str()); in createGLInstance()