/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/chromium_org/third_party/skia/src/core/ |
D | SkRRect.cpp | 273 SkScalar xScale = matrix.getScaleX(); in transform() local 274 const bool flipX = xScale < 0; in transform() 276 xScale = -xScale; in transform() 286 dst->fRadii[i].fX = SkScalarMul(fRadii[i].fX, xScale); in transform()
|
/external/skia/src/core/ |
D | SkRRect.cpp | 273 SkScalar xScale = matrix.getScaleX(); in transform() local 274 const bool flipX = xScale < 0; in transform() 276 xScale = -xScale; in transform() 286 dst->fRadii[i].fX = SkScalarMul(fRadii[i].fX, xScale); in transform()
|
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
D | AffineTransform.cpp | 71 double AffineTransform::xScale() const in xScale() function in WebCore::AffineTransform 255 double width2 = size.width() * xScale(); in mapSize() 263 double width2 = size.width() * xScale(); in mapSize() 355 double sx = xScale(); in decompose()
|
D | AffineTransform.h | 103 double xScale() const;
|
/external/skia/src/effects/ |
D | SkGpuBlurUtils.cpp | 24 static void scale_rect(SkRect* rect, float xScale, float yScale) { in scale_rect() argument 25 rect->fLeft = SkScalarMul(rect->fLeft, xScale); in scale_rect() 27 rect->fRight = SkScalarMul(rect->fRight, xScale); in scale_rect()
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkGpuBlurUtils.cpp | 24 static void scale_rect(SkRect* rect, float xScale, float yScale) { in scale_rect() argument 25 rect->fLeft = SkScalarMul(rect->fLeft, xScale); in scale_rect() 27 rect->fRight = SkScalarMul(rect->fRight, xScale); in scale_rect()
|
/external/skia/tests/ |
D | RoundRectTest.cpp | 513 SkScalar xScale = SkIntToScalar(3); in test_transform_helper() local 516 matrix.setScaleX(xScale); in test_transform_helper() 524 SkScalarMul(orig.radii((SkRRect::Corner) i).fX, xScale))); in test_transform_helper() 529 SkScalarMul(orig.rect().width(), xScale))); in test_transform_helper() 533 SkScalarMul(orig.rect().left(), xScale))); in test_transform_helper()
|
/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/harfbuzz_ng/src/hb-icu-le/ |
D | PortableFontInstance.cpp | 28 PortableFontInstance::PortableFontInstance(hb_face_t *face, float xScale, float yScale, LEErrorCode… in PortableFontInstance() argument 29 …: fFace(face), fXScale(xScale), fYScale(yScale), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading… in PortableFontInstance()
|
D | PortableFontInstance.h | 62 PortableFontInstance(hb_face_t *face, float xScale, float yScale, LEErrorCode &status);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
D | SVGRenderingContext.cpp | 201 return narrowPrecisionToFloat(sqrt((pow(ctm.xScale(), 2) + pow(ctm.yScale(), 2)) / 2)); in calculateScreenFontSizeScalingFactor() 283 …IntSize bufferSize(static_cast<int>(ceil(expandedBoundingBox.width() * transform.xScale())), stati… in bufferForeground()
|
D | RenderSVGResourcePattern.cpp | 95 absoluteTileBoundaries.scale(static_cast<float>(m_attributes.patternTransform().xScale()), in buildPattern()
|
D | RenderSVGResourceFilter.cpp | 176 …filterData->shearFreeAbsoluteTransform = AffineTransform(absoluteTransform.xScale(), 0, 0, absolut… in applyResource()
|
D | SVGTextQuery.cpp | 435 fragmentTransform.scale(1 / fragmentTransform.xScale(), 1 / fragmentTransform.yScale()); in rotationOfCharacterCallback()
|
D | SVGInlineTextBox.cpp | 103 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale())); in offsetForPositionInFragment()
|
/external/chromium_org/third_party/skia/src/utils/debugger/ |
D | SkDrawCommand.cpp | 128 SkScalar xScale = SkIntToScalar(size.fWidth-2) / input.width(); in render_bitmap() local 134 xScale *= input.width() / (float) input.height(); in render_bitmap() 138 xScale * input.width(), in render_bitmap() 145 SkRect r = SkRect::MakeLTRB(srcRect->fLeft * xScale + SK_Scalar1, in render_bitmap() 147 srcRect->fRight * xScale + SK_Scalar1, in render_bitmap()
|
/external/skia/src/utils/debugger/ |
D | SkDrawCommand.cpp | 128 SkScalar xScale = SkIntToScalar(size.fWidth-2) / input.width(); in render_bitmap() local 134 xScale *= input.width() / (float) input.height(); in render_bitmap() 138 xScale * input.width(), in render_bitmap() 145 SkRect r = SkRect::MakeLTRB(srcRect->fLeft * xScale + SK_Scalar1, in render_bitmap() 147 srcRect->fRight * xScale + SK_Scalar1, in render_bitmap()
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGTransform.cpp | 178 … return prefix + String::number(m_matrix.xScale()) + ' ' + String::number(m_matrix.yScale()) + ')'; in valueAsString()
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/ |
D | SVGImage.cpp | 214 FloatSize imageBufferScale = FloatSize(transform.xScale(), transform.yScale()); in drawPatternForContainer()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | GraphicsContext.cpp | 1736 …IntSize scaledSize(static_cast<int>(ceil(size.width() * transform.xScale())), static_cast<int>(cei… in createCompatibleBuffer()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderBoxModelObject.cpp | 481 shrunkRect.inflateX(-static_cast<LayoutUnit>(ceil(1 / transform.xScale()))); in shrinkRectByOnePixel()
|