Home
last modified time | relevance | path

Searched refs:imgInc (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/gpu/effects/
DGrBicubicEffect.cpp44 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode() local
72 fragBuilder->codeAppendf("float2 coord = %s - %s * float2(0.5);", coords2D.c_str(), imgInc); in emitCode()
77 fragBuilder->codeAppendf("coord /= %s;", imgInc); in emitCode()
79 fragBuilder->codeAppendf("coord = (coord - f + float2(0.5)) * %s;", imgInc); in emitCode()
86 coord.printf("coord + %s * float2(%d, %d)", imgInc, x - 1, y - 1); in emitCode()
DGrGaussianConvolutionFragmentProcessor.cpp64 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode() local
66 … fragBuilder->codeAppendf("float2 coord = %s - %d.0 * %s;", coords2D.c_str(), ce.radius(), imgInc); in emitCode()
114 fragBuilder->codeAppendf("coord += %s;\n", imgInc); in emitCode()
DGrMatrixConvolutionEffect.cpp60 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode() local
68 … fragBuilder->codeAppendf("float2 coord = %s - %s * %s;", coords2D.c_str(), kernelOffset, imgInc); in emitCode()
80 coord.printf("coord + half2(%d, %d) * %s", x, y, imgInc); in emitCode()
/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp1873 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode() local
1880 texCoords.appendf("coord + half2(%d, %d) * %s", dx, dy, imgInc); in emitCode()