Home
last modified time | relevance | path

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

12

/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/chromium_org/third_party/skia/src/core/
DSkRRect.cpp273 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/
DSkRRect.cpp273 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/
DAffineTransform.cpp71 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()
DAffineTransform.h103 double xScale() const;
/external/skia/src/effects/
DSkGpuBlurUtils.cpp24 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/
DSkGpuBlurUtils.cpp24 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/
DRoundRectTest.cpp513 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/
DSSAOFilter.java177 float xScale = 1.0f / w; in initFilter() local
181 material.setFloat("XScale", blurScale * xScale); in initFilter()
/external/harfbuzz_ng/src/hb-icu-le/
DPortableFontInstance.cpp28 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()
DPortableFontInstance.h62 PortableFontInstance(hb_face_t *face, float xScale, float yScale, LEErrorCode &status);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGRenderingContext.cpp201 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()
DRenderSVGResourcePattern.cpp95 absoluteTileBoundaries.scale(static_cast<float>(m_attributes.patternTransform().xScale()), in buildPattern()
DRenderSVGResourceFilter.cpp176 …filterData->shearFreeAbsoluteTransform = AffineTransform(absoluteTransform.xScale(), 0, 0, absolut… in applyResource()
DSVGTextQuery.cpp435 fragmentTransform.scale(1 / fragmentTransform.xScale(), 1 / fragmentTransform.yScale()); in rotationOfCharacterCallback()
DSVGInlineTextBox.cpp103 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale())); in offsetForPositionInFragment()
/external/chromium_org/third_party/skia/src/utils/debugger/
DSkDrawCommand.cpp128 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/
DSkDrawCommand.cpp128 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/
DSVGTransform.cpp178 … return prefix + String::number(m_matrix.xScale()) + ' ' + String::number(m_matrix.yScale()) + ')'; in valueAsString()
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
DSVGImage.cpp214 FloatSize imageBufferScale = FloatSize(transform.xScale(), transform.yScale()); in drawPatternForContainer()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.cpp1736 …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/
DRenderBoxModelObject.cpp481 shrunkRect.inflateX(-static_cast<LayoutUnit>(ceil(1 / transform.xScale()))); in shrinkRectByOnePixel()

12