Home
last modified time | relevance | path

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

/external/skia/src/gpu/glsl/
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.h259 class GrGLSLExpr4; variable
297 friend class GrGLSLExpr<GrGLSLExpr4>;
303 class GrGLSLExpr4 : public GrGLSLExpr<GrGLSLExpr4> {
305 GrGLSLExpr4() in GrGLSLExpr4() function
308 explicit GrGLSLExpr4(int v) in GrGLSLExpr4() function
311 GrGLSLExpr4(const char* expr) in GrGLSLExpr4() function
314 GrGLSLExpr4(const SkString& expr) in GrGLSLExpr4() function
322 static GrGLSLExpr4 VectorCast(const GrGLSLExpr1& expr);
323 static GrGLSLExpr4 VectorCast(const GrGLSLExpr4& expr);
326 GrGLSLExpr4(const char format[], const char in0[]) in GrGLSLExpr4() function
[all …]
DGrGLSLProgramBuilder.h96 bool emitAndInstallProcs(GrGLSLExpr4* inputColor, GrGLSLExpr4* inputCoverage, int maxTextures);
127 void nameExpression(GrGLSLExpr4*, const char* baseName);
130 GrGLSLExpr4* outputColor,
131 GrGLSLExpr4* outputCoverage);
132 void emitAndInstallFragProcs(int procOffset, int numProcs, GrGLSLExpr4* inOut);
135 const GrGLSLExpr4& input,
136 GrGLSLExpr4* output);
138 const GrGLSLExpr4& colorIn,
139 const GrGLSLExpr4& coverageIn,
DGrGLSLProgramBuilder.cpp28 bool GrGLSLProgramBuilder::emitAndInstallProcs(GrGLSLExpr4* inputColor, in emitAndInstallProcs()
29 GrGLSLExpr4* inputCoverage, in emitAndInstallProcs()
68 GrGLSLExpr4* outputColor, in emitAndInstallPrimProc()
69 GrGLSLExpr4* outputCoverage) { in emitAndInstallPrimProc()
109 GrGLSLExpr4* inOut) { in emitAndInstallFragProcs()
111 GrGLSLExpr4 output; in emitAndInstallFragProcs()
122 const GrGLSLExpr4& input, in emitAndInstallFragProc()
123 GrGLSLExpr4* output) { in emitAndInstallFragProc()
157 const GrGLSLExpr4& colorIn, in emitAndInstallXferProc()
158 const GrGLSLExpr4& coverageIn, in emitAndInstallXferProc()
[all …]
DGrGLSLShaderBuilder.cpp112 this->codeAppend((GrGLSLExpr4(modulation) * GrGLSLExpr4(lookup)).c_str()); in appendTextureLookupAndModulate()
DGrGLSL.cpp48 void GrGLSLMulVarBy4f(SkString* outAppend, const char* vec4VarName, const GrGLSLExpr4& mulFactor) { in GrGLSLMulVarBy4f()
/external/skia/src/gpu/effects/
DGrDitherEffect.cpp84 args.fOutputColor, GrGLSLExpr4(args.fInputColor).c_str()); in emitCode()
DGrBicubicEffect.cpp111 args.fOutputColor, (GrGLSLExpr4(bicubicColor.c_str()) * in emitCode()
112 GrGLSLExpr4(args.fInputColor)).c_str()); in emitCode()
DGrConvexPolyEffect.cpp138 (GrGLSLExpr4(args.fInputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
216 (GrGLSLExpr4(args.fInputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
DGrOvalEffect.cpp145 (GrGLSLExpr4(args.fInputColor) * GrGLSLExpr1("d")).c_str()); in emitCode()
342 (GrGLSLExpr4(args.fInputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
DGrRRectEffect.cpp285 (GrGLSLExpr4(args.fInputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
601 (GrGLSLExpr4(args.fInputColor) * GrGLSLExpr1("alpha")).c_str()); in emitCode()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp40 GrGLSLExpr4 inputColor; in CreateProgram()
41 GrGLSLExpr4 inputCoverage; in CreateProgram()
/external/skia/src/gpu/vk/
DGrVkProgramBuilder.cpp22 GrGLSLExpr4 inputColor; in CreateProgram()
23 GrGLSLExpr4 inputCoverage; in CreateProgram()
/external/skia/src/effects/
DSkAlphaThresholdFilter.cpp208 (GrGLSLExpr4(args.fInputColor) * GrGLSLExpr4("color")).c_str()); in emitCode()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp1048 (GrGLSLExpr4(inputColor) * GrGLSLExpr4("colorTemp")).c_str()); in emitColor()
1072 (GrGLSLExpr4(inputColor) * GrGLSLExpr4("colorTemp")).c_str()); in emitColor()
/external/skia/gm/
Ddcshader.cpp80 args.fOutputColor, GrGLSLExpr4(args.fInputColor).c_str()); in onCreateGLSLInstance()