Home
last modified time | relevance | path

Searched refs:coords2D (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient_gpu.cpp246 const char* coords2D; in emitCode() local
253 coords2D = "interpolants.xy"; in emitCode()
256 coords2D = args.fCoords[0].c_str(); in emitCode()
266 cName.c_str(), coords2D, coords2D, p1.c_str()); in emitCode()
526 const char* coords2D = coords2DString.c_str(); in emitCode() local
534 fragBuilder->codeAppendf("\tfloat xs = %s.x * %s.x;\n", coords2D, coords2D); in emitCode()
535 fragBuilder->codeAppendf("\tfloat ys = %s.y * %s.y;\n", coords2D, coords2D); in emitCode()
542 coords2D, p0.c_str()); in emitCode()
545 coords2D, p0.c_str()); in emitCode()
735 const char* coords2D = coords2DString.c_str(); in emitCode() local
[all …]
DSkSweepGradient.cpp207 SkString coords2D = args.fFragBuilder->ensureFSCoords2D(args.fCoords, 0); in emitCode() local
214 coords2D.c_str(), coords2D.c_str()); in emitCode()
217 coords2D.c_str(), coords2D.c_str()); in emitCode()
/external/skia/src/gpu/glsl/
DGrGLSLFragmentShaderBuilder.cpp116 SkString coords2D("coords2D"); in ensureFSCoords2D() local
118 coords2D.appendf("_%i", index); in ensureFSCoords2D()
121 coords2D.c_str(), coords[index].c_str(), coords[index].c_str()); in ensureFSCoords2D()
122 return coords2D; in ensureFSCoords2D()
/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp65 SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); in emitCode() local
67 fragBuilder->codeAppendf("vec2 coord = %s - %s * %s;", coords2D.c_str(), kernelOffset, imgInc); in emitCode()
100 coords2D, in emitCode()
DGrBicubicEffect.cpp72 SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); in emitCode() local
81 fragBuilder->codeAppendf("\tvec2 coord = %s - %s * vec2(0.5);\n", coords2D.c_str(), imgInc); in emitCode()
DGrConvolutionEffect.cpp54 SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); in emitCode() local
61 fragBuilder->codeAppendf("vec2 coord = %s - %d.0 * %s;", coords2D.c_str(), ce.radius(), imgInc); in emitCode()
DGrTextureDomain.cpp196 SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); in emitCode() local
202 coords2D, in emitCode()
/external/skia/src/effects/
DSkMagnifierImageFilter.cpp133 SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); in emitCode() local
134 fragBuilder->codeAppendf("\t\tvec2 coord = %s;\n", coords2D.c_str()); in emitCode()
137 coords2D.c_str(), in emitCode()
DSkAlphaThresholdFilter.cpp176 SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); in emitCode() local
179 fragBuilder->codeAppendf("\t\tvec2 coord = %s;\n", coords2D.c_str()); in emitCode()
DSkMorphologyImageFilter.cpp285 SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); in emitCode() local
318 fragBuilder->codeAppendf("\t\tvec2 coord = %s;\n", coords2D.c_str()); in emitCode()
DSkDisplacementMapEffect.cpp566 SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 1); in emitCode() local
568 cCoords, coords2D.c_str(), scaleUni, dColor); in emitCode()
DSkLightingImageFilter.cpp1753 SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); in emitCode() local
1789 fragBuilder->codeAppendf("\t\tvec2 coord = %s;\n", coords2D.c_str()); in emitCode()
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp654 const tcu::Vec2 coords2D[4] = in shadeFragments() local
665 … case GL_TEXTURE_2D: m_uniforms[4*unitNdx].sampler.tex2D->sample4(texSamples, coords2D); break; in shadeFragments()