/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/ |
D | DepthOfField.frag | 65 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/ |
D | ssaoBlur.frag | 68 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 …]
|
D | ssaoBlur15.frag | 69 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/ |
D | DepthOfFieldFilter.java | 54 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/ |
D | ImageCG.cpp | 203 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/ |
D | SSAOFilter.java | 177 float xScale = 1.0f / w; in initFilter() local 181 material.setFloat("XScale", blurScale * xScale); in initFilter()
|
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
D | AffineTransform.cpp | 44 double sx = matrix.xScale(); in affineTransformDecompose() 122 double AffineTransform::xScale() const in xScale() function in WebCore::AffineTransform
|
D | AffineTransform.h | 113 double xScale() const;
|
/external/webkit/Source/WebCore/svg/ |
D | SVGTransform.cpp | 146 …return makeString("scale(", String::number(m_matrix.xScale()), ' ', String::number(m_matrix.yScale… in valueAsString()
|
/external/webkit/Source/WebCore/rendering/svg/ |
D | RenderSVGInlineText.cpp | 244 scalingFactor = narrowPrecisionToFloat(sqrt((pow(ctm.xScale(), 2) + pow(ctm.yScale(), 2)) / 2)); in computeNewScaledFontForStyle()
|
D | RenderSVGResourceFilter.cpp | 174 …filterData->shearFreeAbsoluteTransform = AffineTransform(absoluteTransform.xScale(), 0, 0, absolut… in applyResource()
|
D | SVGTextQuery.cpp | 440 fragmentTransform.scale(1 / fragmentTransform.xScale(), 1 / fragmentTransform.yScale()); in rotationOfCharacterCallback()
|
D | SVGInlineTextBox.cpp | 76 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale())); in offsetForPositionInFragment()
|
/external/webkit/Source/WebCore/platform/mac/ |
D | WidgetMac.mm | 254 …CGContextScaleCTM(context, narrowPrecisionToFloat(widgetToViewTranform.xScale()), narrowPrecisionT… 291 …CGContextScaleCTM(cgContext, narrowPrecisionToFloat(widgetToViewTranform.xScale()), narrowPrecisio…
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 748 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/ |
D | ChangeLog-2010-12-06 | 43125 … (WebCore::affineTransformDecompose): Move xScale / yScale calculations in their own functions. 43126 (WebCore::AffineTransform::xScale):
|