Home
last modified time | relevance | path

Searched refs:set2f (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/gpu/glsl/
DGrGLSLXferProcessor.cpp114 pdm.set2f(fDstTopLeftUni, static_cast<float>(dstTextureOffset.fX), in setData()
116 pdm.set2f(fDstScaleUni, 1.f / dstTexture->width(), 1.f / dstTexture->height()); in setData()
DGrGLSLProgramDataManager.h34 virtual void set2f(UniformHandle, float, float) const = 0;
/external/skia/src/gpu/effects/
DGrRRectEffect.cpp367 pdman.set2f(fRadiusPlusHalfUniform, radius, 1.f / radius); in onSetData()
618 pdman.set2f(fInvRadiiSqdUniform, 1.f, (r0.fX * r0.fX) / (r0.fY * r0.fY)); in onSetData()
619 pdman.set2f(fScaleUniform, r0.fX, 1.f / r0.fX); in onSetData()
621 pdman.set2f(fInvRadiiSqdUniform, (r0.fY * r0.fY) / (r0.fX * r0.fX), 1.f); in onSetData()
622 pdman.set2f(fScaleUniform, r0.fY, 1.f / r0.fY); in onSetData()
625 pdman.set2f(fInvRadiiSqdUniform, 1.f / (r0.fX * r0.fX), in onSetData()
644 pdman.set2f(fScaleUniform, scale, 1.f / scale); in onSetData()
DGrGaussianConvolutionFragmentProcessor.cpp149 pdman.set2f(fBoundsUni, inv * bounds[0], inv * bounds[1]); in onSetData()
153 pdman.set2f(fBoundsUni, 1.0f - (inv * bounds[1]), 1.0f - (inv * bounds[0])); in onSetData()
155 pdman.set2f(fBoundsUni, inv * bounds[1], inv * bounds[0]); in onSetData()
DGrEllipseEffect.cpp77 pdman.set2f(scale, radii.fX, 1.f / radii.fX); in onSetData()
81 pdman.set2f(scale, radii.fY, 1.f / radii.fY); in onSetData()
DGrEllipseEffect.fp34 pdman.set2f(scale, radii.fX, 1.f / radii.fX);
39 pdman.set2f(scale, radii.fY, 1.f / radii.fY);
DGrDistanceFieldGeoProc.cpp441 pdman.set2f(fTextureSizeUni, in setData()
/external/skia/src/gpu/vk/
DGrVkPipelineStateDataManager.h31 void set2f(UniformHandle, float, float) const override;
DGrVkPipelineStateDataManager.cpp113 void GrVkPipelineStateDataManager::set2f(UniformHandle u, float v0, float v1) const { in set2f() function in GrVkPipelineStateDataManager
/external/skia/src/effects/
DSkMagnifierImageFilter.cpp216 pdman.set2f(fOffsetVar, zoom.srcRect().x() * invW, y); in onSetData()
219 pdman.set2f(fInvZoomVar, zoom.xInvZoom(), zoom.yInvZoom()); in onSetData()
220 pdman.set2f(fInvInsetVar, zoom.xInvInset(), zoom.yInvInset()); in onSetData()
DSkMorphologyImageFilter.cpp315 pdman.set2f(fRangeUni, 1.0f - (range[1]*pixelSize), 1.0f - (range[0]*pixelSize)); in onSetData()
317 pdman.set2f(fRangeUni, range[0] * pixelSize, range[1] * pixelSize); in onSetData()
DSkDisplacementMapEffect.cpp604 pdman.set2f(fScaleUni, SkScalarToFloat(scaleX), in onSetData()
DSkLightingImageFilter.cpp1905 pdman.set2f(fImageIncrementUni, 1.0f / texture->width(), ySign / texture->height()); in onSetData()
/external/skia/src/gpu/gl/
DGrGLProgramDataManager.h58 void set2f(UniformHandle, float, float) const override;
DGrGLProgramDataManager.cpp120 void GrGLProgramDataManager::set2f(UniformHandle u, float v0, float v1) const { in set2f() function in GrGLProgramDataManager
/external/skia/src/gpu/ccpr/
DGrCCPRPathProcessor.cpp100 pdman.set2f(fAtlasAdjustUniform, 1.0f / proc.atlas()->width(), in setData()
/external/skia/src/shaders/gradients/
DSkTwoPointConicalGradient_gpu.cpp568 pdman.set2f(fParamUni, SkScalarToFloat(focal), SkScalarToFloat(oneMinus2F)); in onSetData()
1019 pdman.set2f(fCenterUni, SkScalarToFloat(centerX), SkScalarToFloat(centerY)); in onSetData()
1276 pdman.set2f(fCenterUni, SkScalarToFloat(centerX), SkScalarToFloat(centerY)); in onSetData()
/external/skia/src/shaders/
DSkPerlinNoiseShader.cpp1065 pdman.set2f(fBaseFrequencyUni, baseFrequency.fX, baseFrequency.fY); in onSetData()
1069 pdman.set2f(fStitchDataUni, SkIntToScalar(stitchData.fWidth), in onSetData()
1331 pdman.set2f(fBaseFrequencyUni, baseFrequency.fX, baseFrequency.fY); in onSetData()