Home
last modified time | relevance | path

Searched refs:xScale (Results 1 – 16 of 16) sorted by relevance

/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/
DDepthOfField.frag65 float xScale = m_XScale;
69 sum += texture2D( m_Texture, vec2(x - 2.0 * xScale, y - 2.0 * yScale) );
70 sum += texture2D( m_Texture, vec2(x - 0.0 * xScale, y - 2.0 * yScale) );
71 sum += texture2D( m_Texture, vec2(x + 2.0 * xScale, y - 2.0 * yScale) );
72 sum += texture2D( m_Texture, vec2(x - 1.0 * xScale, y - 1.0 * yScale) );
73 sum += texture2D( m_Texture, vec2(x + 1.0 * xScale, y - 1.0 * yScale) );
74 sum += texture2D( m_Texture, vec2(x - 2.0 * xScale, y - 0.0 * yScale) );
75 sum += texture2D( m_Texture, vec2(x + 2.0 * xScale, y - 0.0 * yScale) );
76 sum += texture2D( m_Texture, vec2(x - 1.0 * xScale, y + 1.0 * yScale) );
77 sum += texture2D( m_Texture, vec2(x + 1.0 * xScale, y + 1.0 * yScale) );
[all …]
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/SSAO/
DssaoBlur.frag68 float xScale = m_XScale;
75 vec2 sample = vec2(x - 2.0 * xScale, y - 2.0 * yScale);
81 sample = vec2(x - 0.0 * xScale, y - 2.0 * yScale);
87 sample = vec2(x + 2.0 * xScale, y - 2.0 * yScale);
93 sample = vec2(x - 1.0 * xScale, y - 1.0 * yScale);
99 sample = vec2(x + 1.0 * xScale, y - 1.0 * yScale);
105 sample = vec2(x - 2.0 * xScale, y - 0.0 * yScale);
111 sample = vec2(x + 2.0 * xScale, y - 0.0 * yScale);
117 sample = vec2(x - 1.0 * xScale, y + 1.0 * yScale);
123 sample = vec2(x + 1.0 * xScale, y + 1.0 * yScale);
[all …]
DssaoBlur15.frag69 float xScale = m_XScale;
76 vec2 sample = vec2(x - 2.0 * xScale, y - 2.0 * yScale);
82 sample = vec2(x - 0.0 * xScale, y - 2.0 * yScale);
88 sample = vec2(x + 2.0 * xScale, y - 2.0 * yScale);
94 sample = vec2(x - 1.0 * xScale, y - 1.0 * yScale);
100 sample = vec2(x + 1.0 * xScale, y - 1.0 * yScale);
106 sample = vec2(x - 2.0 * xScale, y - 0.0 * yScale);
112 sample = vec2(x + 2.0 * xScale, y - 0.0 * yScale);
118 sample = vec2(x - 1.0 * xScale, y + 1.0 * yScale);
124 sample = vec2(x + 1.0 * xScale, y + 1.0 * yScale);
[all …]
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/
DDepthOfFieldFilter.java54 private float xScale; field in DepthOfFieldFilter
83 xScale = 1.0f / w; in initFilter()
86 material.setFloat("XScale", blurScale * xScale); in initFilter()
146 material.setFloat("XScale", blurScale * xScale); in setBlurScale()
/external/webkit/Source/WebCore/platform/graphics/cg/
DImageCG.cpp203 float xScale = srcRect.width() / destRect.width(); in draw() local
211 adjustedDestRect.move(-leftPadding / xScale, -topPadding / yScale); in draw()
214 adjustedDestRect.setWidth(subimageRect.width() / xScale); in draw()
225 …adjustedDestRect.setLocation(FloatPoint(destRect.x() - srcRect.x() / xScale, destRect.y() - srcRec… in draw()
226 … adjustedDestRect.setSize(FloatSize(selfSize.width() / xScale, selfSize.height() / yScale)); in draw()
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/ssao/
DSSAOFilter.java177 float xScale = 1.0f / w; in initFilter() local
181 material.setFloat("XScale", blurScale * xScale); in initFilter()
/external/webkit/Source/WebCore/platform/graphics/transforms/
DAffineTransform.cpp44 double sx = matrix.xScale(); in affineTransformDecompose()
122 double AffineTransform::xScale() const in xScale() function in WebCore::AffineTransform
DAffineTransform.h113 double xScale() const;
/external/webkit/Source/WebCore/svg/
DSVGTransform.cpp146 …return makeString("scale(", String::number(m_matrix.xScale()), ' ', String::number(m_matrix.yScale… in valueAsString()
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGInlineText.cpp244 scalingFactor = narrowPrecisionToFloat(sqrt((pow(ctm.xScale(), 2) + pow(ctm.yScale(), 2)) / 2)); in computeNewScaledFontForStyle()
DRenderSVGResourceFilter.cpp174 …filterData->shearFreeAbsoluteTransform = AffineTransform(absoluteTransform.xScale(), 0, 0, absolut… in applyResource()
DSVGTextQuery.cpp440 fragmentTransform.scale(1 / fragmentTransform.xScale(), 1 / fragmentTransform.yScale()); in rotationOfCharacterCallback()
DSVGInlineTextBox.cpp76 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale())); in offsetForPositionInFragment()
/external/webkit/Source/WebCore/platform/mac/
DWidgetMac.mm254 …CGContextScaleCTM(context, narrowPrecisionToFloat(widgetToViewTranform.xScale()), narrowPrecisionT…
291 …CGContextScaleCTM(cgContext, narrowPrecisionToFloat(widgetToViewTranform.xScale()), narrowPrecisio…
/external/skia/src/gpu/
DSkGpuDevice.cpp748 static void scaleRect(SkRect* rect, float xScale, float yScale) { in scaleRect() argument
749 rect->fLeft *= xScale; in scaleRect()
751 rect->fRight *= xScale; in scaleRect()
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0643125 … (WebCore::affineTransformDecompose): Move xScale / yScale calculations in their own functions.
43126 (WebCore::AffineTransform::xScale):