/external/skia/src/gpu/ccpr/ |
H A D | GrCCQuadraticShader.cpp | 57 f->codeAppendf("%s *= %s.w;", outputCoverage, fXYDW.fsIn()); // Sign by wind. 90 fXYDW.fsIn(), fXYDW.fsIn(), fXYDW.fsIn(), fGrad.fsIn(), fGrad.fsIn()); 92 f->codeAppendf("%s += min(%s.z, 0);", outputCoverage, fXYDW.fsIn()); // Flat closing edge. 122 fXYDW.fsIn(), fXYDW.fsIn(), fXYDW.fsIn()); [all...] |
H A D | GrCCCubicShader.cpp | 98 fKLMD.fsIn(), fKLMD.fsIn(), fKLMD.fsIn(), fKLMD.fsIn()); 123 f->codeAppendf("float2 grad_f = %s * float2(k, 1);", fGradMatrix.fsIn()); 153 f->codeAppendf("float2x4 grad_klmd = float2x4(%s, %s);", fdKLMDdx.fsIn(), fdKLMDdy.fsIn()); 167 fKLMD.fsIn(), fKLMD.fsIn());
|
H A D | GrCCTriangleShader.cpp | 32 f->codeAppendf("%s = %s;", outputCoverage, fCoverageTimesWind.fsIn()); 135 f->codeAppendf( "half2 corner = %s[i];", fCornerLocationInAABoxes.fsIn()); 136 f->codeAppendf( "half2 bisect = %s[i];", fBisectInAABoxes.fsIn()); 153 f->codeAppendf("%s *= %s;", outputCoverage, fWindTimesHalf.fsIn());
|
/external/skqp/src/gpu/ccpr/ |
H A D | GrCCQuadraticShader.cpp | 57 f->codeAppendf("%s *= %s.w;", outputCoverage, fXYDW.fsIn()); // Sign by wind. 90 fXYDW.fsIn(), fXYDW.fsIn(), fXYDW.fsIn(), fGrad.fsIn(), fGrad.fsIn()); 92 f->codeAppendf("%s += min(%s.z, 0);", outputCoverage, fXYDW.fsIn()); // Flat closing edge. 120 fXYDW.fsIn(), fXYDW.fsIn(), fXYDW.fsIn()); [all...] |
H A D | GrCCCubicShader.cpp | 98 fKLMD.fsIn(), fKLMD.fsIn(), fKLMD.fsIn(), fKLMD.fsIn()); 123 f->codeAppendf("float2 grad_f = %s * float2(k, 1);", fGradMatrix.fsIn()); 151 f->codeAppendf("float2x4 grad_klmd = float2x4(%s, %s);", fdKLMDdx.fsIn(), fdKLMDdy.fsIn()); 165 fKLMD.fsIn(), fKLMD.fsIn());
|
H A D | GrCCTriangleShader.cpp | 31 f->codeAppendf("%s = %s;", outputCoverage, fCoverageTimesWind.fsIn()); 133 f->codeAppendf( "half2 corner = %s[i];", fCornerLocationInAABoxes.fsIn()); 134 f->codeAppendf( "half2 bisect = %s[i];", fBisectInAABoxes.fsIn()); 151 f->codeAppendf("%s *= %s;", outputCoverage, fWindTimesHalf.fsIn());
|
/external/skia/src/gpu/effects/ |
H A D | GrBezierEffect.cpp | 128 fragBuilder->codeAppendf("%s = dFdx(%s.xyz);", dklmdx.c_str(), v.fsIn()); 129 fragBuilder->codeAppendf("%s = dFdy(%s.xyz);", dklmdy.c_str(), v.fsIn()); 132 v.fsIn(), dklmdx.c_str(), 133 v.fsIn(), dklmdx.c_str(), 134 v.fsIn(), dklmdx.c_str()); 137 v.fsIn(), dklmdy.c_str(), 138 v.fsIn(), dklmdy.c_str(), 139 v.fsIn(), dklmdy.c_str()); 145 func.c_str(), v.fsIn(), v.fsIn(), [all...] |
H A D | GrDistanceFieldGeoProc.cpp | 84 fragBuilder->codeAppendf("float2 uv = %s;\n", uv.fsIn()); 105 st.fsIn()); 109 st.fsIn()); 119 fragBuilder->codeAppendf("half st_grad_len = length(dFdx(%s));", st.fsIn()); 122 fragBuilder->codeAppendf("half st_grad_len = length(dFdy(%s));", st.fsIn()); 139 fragBuilder->codeAppendf("half2 Jdx = dFdx(%s);", st.fsIn()); 140 fragBuilder->codeAppendf("half2 Jdy = dFdy(%s);", st.fsIn()); 375 fragBuilder->codeAppendf("float2 uv = %s;", uv.fsIn()); 397 st.fsIn()); 401 st.fsIn()); [all...] |
H A D | GrAtlasedShaderHelpers.h | 63 args.fFragBuilder->codeAppendf("if (%s == %d) { %s = ", texIdx.fsIn(), i, colorName);
|
/external/skqp/src/gpu/effects/ |
H A D | GrBezierEffect.cpp | 128 fragBuilder->codeAppendf("%s = dFdx(%s.xyz);", dklmdx.c_str(), v.fsIn()); 129 fragBuilder->codeAppendf("%s = dFdy(%s.xyz);", dklmdy.c_str(), v.fsIn()); 132 v.fsIn(), dklmdx.c_str(), 133 v.fsIn(), dklmdx.c_str(), 134 v.fsIn(), dklmdx.c_str()); 137 v.fsIn(), dklmdy.c_str(), 138 v.fsIn(), dklmdy.c_str(), 139 v.fsIn(), dklmdy.c_str()); 145 func.c_str(), v.fsIn(), v.fsIn(), [all...] |
H A D | GrDistanceFieldGeoProc.cpp | 84 fragBuilder->codeAppendf("float2 uv = %s;\n", uv.fsIn()); 105 st.fsIn()); 109 st.fsIn()); 119 fragBuilder->codeAppendf("half st_grad_len = length(dFdx(%s));", st.fsIn()); 122 fragBuilder->codeAppendf("half st_grad_len = length(dFdy(%s));", st.fsIn()); 139 fragBuilder->codeAppendf("half2 Jdx = dFdx(%s);", st.fsIn()); 140 fragBuilder->codeAppendf("half2 Jdy = dFdy(%s);", st.fsIn()); 367 fragBuilder->codeAppendf("float2 uv = %s;", uv.fsIn()); 389 st.fsIn()); 393 st.fsIn()); [all...] |
H A D | GrAtlasedShaderHelpers.h | 63 args.fFragBuilder->codeAppendf("if (%s == %d) { %s = ", texIdx.fsIn(), i, colorName);
|
/external/skia/src/gpu/glsl/ |
H A D | GrGLSLVarying.cpp | 20 fProgramBuilder->fFS.codeAppendf("%s = %s;", output, v.fsIn()); 122 const char* fsIn = v.fVsOut.c_str(); local 126 fsIn = v.fGsOut.c_str(); 128 fFragInputs.push_back().set(v.fType, fsIn, GrShaderVar::kIn_TypeModifier,
|
H A D | GrGLSLVarying.h | 44 const char* fsIn() const { SkASSERT(this->isInFragmentShader()); return fFsIn; } function in class:GrGLSLVarying
|
H A D | GrGLSLGeometryProcessor.cpp | 88 handler->specifyCoordsForCurrCoordTransform(SkString(v.fsIn()), varyingType);
|
/external/skqp/src/gpu/glsl/ |
H A D | GrGLSLVarying.cpp | 32 fProgramBuilder->fFS.codeAppendf("%s = %s;", output, v.fsIn()); 114 const char* fsIn = v.fVsOut.c_str(); local 118 fsIn = v.fGsOut.c_str(); 120 fFragInputs.push_back().set(v.fType, fsIn, GrShaderVar::kIn_TypeModifier,
|
H A D | GrGLSLVarying.h | 44 const char* fsIn() const { SkASSERT(this->isInFragmentShader()); return fFsIn; } function in class:GrGLSLVarying
|
/external/skia/src/gpu/ops/ |
H A D | GrDashOp.cpp | 939 dashParams.fsIn(), dashParams.fsIn(), dashParams.fsIn(), 940 dashParams.fsIn()); 941 fragBuilder->codeAppendf("half2 fragPosShifted = half2(xShifted, %s.y);", dashParams.fsIn()); 942 fragBuilder->codeAppendf("half2 center = half2(%s.y, 0.0);", circleParams.fsIn()); 945 fragBuilder->codeAppendf("half diff = dist - %s.x;", circleParams.fsIn()); 950 fragBuilder->codeAppendf("alpha *= dist < %s.x + 0.5 ? 1.0 : 0.0;", circleParams.fsIn()); 1142 inDashParams.fsIn(), inDashParams.fsIn(), inDashParam [all...] |
H A D | GrAAConvexPathRenderer.cpp | 592 fragBuilder->codeAppendf("half2 duvdx = dFdx(%s.xy);", v.fsIn()); 593 fragBuilder->codeAppendf("half2 duvdy = dFdy(%s.xy);", v.fsIn()); 594 fragBuilder->codeAppendf("if (%s.z > 0.0 && %s.w > 0.0) {", v.fsIn(), v.fsIn()); 596 fragBuilder->codeAppendf("edgeAlpha = min(min(%s.z, %s.w) + 0.5, 1.0);", v.fsIn(), 597 v.fsIn()); 601 v.fsIn(), v.fsIn()); 602 fragBuilder->codeAppendf("edgeAlpha = (%s.x*%s.x - %s.y);", v.fsIn(), v.fsIn(), [all...] |
H A D | GrTextureOp.cpp | 181 aaDistName = aaDistVarying.fsIn(); 202 aaEdgeVarying[0].fsIn(), aaEdgeVarying[0].fsIn(), 203 aaEdgeVarying[1].fsIn(), aaEdgeVarying[1].fsIn(), 204 aaEdgeVarying[2].fsIn(), aaEdgeVarying[2].fsIn(), 205 aaEdgeVarying[3].fsIn(), aaEdgeVarying[3].fsIn());
|
/external/skqp/src/gpu/ops/ |
H A D | GrDashOp.cpp | 939 dashParams.fsIn(), dashParams.fsIn(), dashParams.fsIn(), 940 dashParams.fsIn()); 941 fragBuilder->codeAppendf("half2 fragPosShifted = half2(xShifted, %s.y);", dashParams.fsIn()); 942 fragBuilder->codeAppendf("half2 center = half2(%s.y, 0.0);", circleParams.fsIn()); 945 fragBuilder->codeAppendf("half diff = dist - %s.x;", circleParams.fsIn()); 950 fragBuilder->codeAppendf("alpha *= dist < %s.x + 0.5 ? 1.0 : 0.0;", circleParams.fsIn()); 1142 inDashParams.fsIn(), inDashParams.fsIn(), inDashParam [all...] |
H A D | GrAAConvexPathRenderer.cpp | 592 fragBuilder->codeAppendf("half2 duvdx = dFdx(%s.xy);", v.fsIn()); 593 fragBuilder->codeAppendf("half2 duvdy = dFdy(%s.xy);", v.fsIn()); 594 fragBuilder->codeAppendf("if (%s.z > 0.0 && %s.w > 0.0) {", v.fsIn(), v.fsIn()); 596 fragBuilder->codeAppendf("edgeAlpha = min(min(%s.z, %s.w) + 0.5, 1.0);", v.fsIn(), 597 v.fsIn()); 601 v.fsIn(), v.fsIn()); 602 fragBuilder->codeAppendf("edgeAlpha = (%s.x*%s.x - %s.y);", v.fsIn(), v.fsIn(), [all...] |
H A D | GrTextureOp.cpp | 187 aaDistName = aaDistVarying.fsIn(); 207 aaEdgeVarying[0].fsIn(), aaEdgeVarying[0].fsIn(), 208 aaEdgeVarying[1].fsIn(), aaEdgeVarying[1].fsIn(), 209 aaEdgeVarying[2].fsIn(), aaEdgeVarying[2].fsIn(), 210 aaEdgeVarying[3].fsIn(), aaEdgeVarying[3].fsIn());
|
/external/skia/src/gpu/ |
H A D | GrPathProcessor.cpp | 66 transformHandler->specifyCoordsForCurrCoordTransform(SkString(v.fsIn()), varyingType);
|
/external/skqp/src/gpu/ |
H A D | GrPathProcessor.cpp | 66 transformHandler->specifyCoordsForCurrCoordTransform(SkString(v.fsIn()), varyingType);
|