Home
last modified time | relevance | path

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

/external/skia/src/shaders/gradients/
DSkSweepGradient.cpp189 const SkString coords2D = args.fFragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
198 coords2D.c_str(), coords2D.c_str(), coords2D.c_str()) in emitCode()
199 : SkStringPrintf("atan(- %s.y, - %s.x)", coords2D.c_str(), coords2D.c_str()); in emitCode()
DSkTwoPointConicalGradient_gpu.cpp236 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
237 const char* p = coords2D.c_str(); in emitCode()
299 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
300 const char* p = coords2D.c_str(); in emitCode()
/external/skqp/src/shaders/gradients/
DSkSweepGradient.cpp189 const SkString coords2D = args.fFragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
198 coords2D.c_str(), coords2D.c_str(), coords2D.c_str()) in emitCode()
199 : SkStringPrintf("atan(- %s.y, - %s.x)", coords2D.c_str(), coords2D.c_str()); in emitCode()
DSkTwoPointConicalGradient_gpu.cpp236 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
237 const char* p = coords2D.c_str(); in emitCode()
299 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
300 const char* p = coords2D.c_str(); in emitCode()
/external/skia/src/gpu/glsl/
DGrGLSLFragmentShaderBuilder.cpp88 SkString coords2D; in ensureCoords2D() local
89 coords2D.printf("%s_ensure2D", coords.c_str()); in ensureCoords2D()
90 this->codeAppendf("\tfloat2 %s = %s.xy / %s.z;", coords2D.c_str(), coords.c_str(), in ensureCoords2D()
92 return coords2D; in ensureCoords2D()
/external/skqp/src/gpu/glsl/
DGrGLSLFragmentShaderBuilder.cpp120 SkString coords2D; in ensureCoords2D() local
121 coords2D.printf("%s_ensure2D", coords.c_str()); in ensureCoords2D()
122 this->codeAppendf("\tfloat2 %s = %s.xy / %s.z;", coords2D.c_str(), coords.c_str(), in ensureCoords2D()
124 return coords2D; in ensureCoords2D()
/external/skqp/src/gpu/effects/
DGrBicubicEffect.cpp48 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
73 fragBuilder->codeAppendf("float2 coord = %s - %s * float2(0.5);", coords2D.c_str(), imgInc); in emitCode()
DGrMatrixConvolutionEffect.cpp67 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
69 … fragBuilder->codeAppendf("float2 coord = %s - %s * %s;", coords2D.c_str(), kernelOffset, imgInc); in emitCode()
107 coords2D, in emitCode()
DGrGaussianConvolutionFragmentProcessor.cpp60 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
67 … fragBuilder->codeAppendf("float2 coord = %s - %d.0 * %s;", coords2D.c_str(), ce.radius(), imgInc); in emitCode()
DGrTextureDomain.cpp259 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in onCreateGLSLInstance() local
266 coords2D, in onCreateGLSLInstance()
/external/skia/src/gpu/effects/
DGrBicubicEffect.cpp48 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
73 fragBuilder->codeAppendf("float2 coord = %s - %s * float2(0.5);", coords2D.c_str(), imgInc); in emitCode()
DGrMatrixConvolutionEffect.cpp67 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
69 … fragBuilder->codeAppendf("float2 coord = %s - %s * %s;", coords2D.c_str(), kernelOffset, imgInc); in emitCode()
107 coords2D, in emitCode()
DGrGaussianConvolutionFragmentProcessor.cpp60 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
67 … fragBuilder->codeAppendf("float2 coord = %s - %d.0 * %s;", coords2D.c_str(), ce.radius(), imgInc); in emitCode()
DGrTextureDomain.cpp259 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in onCreateGLSLInstance() local
266 coords2D, in onCreateGLSLInstance()
/external/skia/src/effects/
DSkDisplacementMapEffect.cpp566 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[1]); in emitCode() local
568 cCoords, coords2D.c_str(), scaleUni, dColor); in emitCode()
DSkMorphologyImageFilter.cpp222 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
255 fragBuilder->codeAppendf("\t\tfloat2 coord = %s;\n", coords2D.c_str()); in emitCode()
DSkLightingImageFilter.cpp1848 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
1884 fragBuilder->codeAppendf("\t\tfloat2 coord = %s;\n", coords2D.c_str()); in emitCode()
/external/skqp/src/effects/
DSkDisplacementMapEffect.cpp566 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[1]); in emitCode() local
568 cCoords, coords2D.c_str(), scaleUni, dColor); in emitCode()
DSkMorphologyImageFilter.cpp222 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
255 fragBuilder->codeAppendf("\t\tfloat2 coord = %s;\n", coords2D.c_str()); in emitCode()
DSkLightingImageFilter.cpp1848 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode() local
1884 fragBuilder->codeAppendf("\t\tfloat2 coord = %s;\n", coords2D.c_str()); in emitCode()
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp655 const tcu::Vec2 coords2D[4] = in shadeFragments() local
666 … case GL_TEXTURE_2D: m_uniforms[4*unitNdx].sampler.tex2D->sample4(texSamples, coords2D); break; in shadeFragments()