Home
last modified time | relevance | path

Searched refs:yScale (Results 1 – 21 of 21) sorted by relevance

/third_party/flutter/skia/src/core/
DSkRRect.cpp431 SkScalar yScale = matrix.getScaleY(); in transform() local
441 yScale = matrix.getSkewX() * (isClockwise ? -1 : 1); in transform()
462 const bool flipY = yScale < 0; in transform()
464 yScale = -yScale; in transform()
470 dst->fRadii[i].fY *= yScale; in transform()
DSkGpuBlurUtils.cpp28 static void scale_irect_roundout(SkIRect* rect, float xScale, float yScale) { in scale_irect_roundout() argument
30 rect->fTop = SkScalarFloorToInt(rect->fTop * yScale); in scale_irect_roundout()
32 rect->fBottom = SkScalarCeilToInt(rect->fBottom * yScale); in scale_irect_roundout()
35 static void scale_irect(SkIRect* rect, int xScale, int yScale) { in scale_irect() argument
37 rect->fTop *= yScale; in scale_irect()
39 rect->fBottom *= yScale; in scale_irect()
DSkDrawShadowInfo.cpp104 SkScalar yScale = 2/(pathBounds.fBottom - pathBounds.fTop); in GetSpotShadowTransform() local
106 0, yScale, -yScale*pathBounds.fTop - 1, in GetSpotShadowTransform()
DSkScalerContext.cpp790 SkScalar yScale = SkScalarAbs(GA.get(SkMatrix::kMScaleY)); in computeMatrices() local
791 s->fX = yScale; in computeMatrices()
792 s->fY = yScale; in computeMatrices()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderDerivateTests.cpp1106 const tcu::Vec4 yScale = tcu::Vec4(0.5f, 0.5f, 0.5f, -0.5f); in verify() local
1114 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1192 const tcu::Vec4 dy = ((m_coordMax - m_coordMin) / h) * yScale; in verify()
1195 …::Vec4 dyThreshold = getDerivateThreshold(m_precision, m_coordMin*yScale, m_coordMax*yScale, dy); in verify()
1197 … dyThresholdW = getDerivateThresholdWarning(m_precision, m_coordMin*yScale, m_coordMax*yScale, dy); in verify()
1436 const tcu::Vec4 yScale = tcu::Vec4(0.5f, 1.0f, 0.5f, -0.5f); in verify() local
1446 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1525 const tcu::Vec4 dy = ((m_texValueMax - m_texValueMin) / h) * yScale; in verify()
1528 …4 dyThreshold = getDerivateThreshold(m_precision, m_texValueMin*yScale, m_texValueMax*yScale, dy); in verify()
1530 …esholdW = getDerivateThresholdWarning(m_precision, m_texValueMin*yScale, m_texValueMax*yScale, dy); in verify()
/third_party/skia/src/core/
DSkDrawShadowInfo.cpp126 SkScalar yScale = 2/(pathBounds.fBottom - pathBounds.fTop); in GetSpotShadowTransform() local
128 0, yScale, -yScale*pathBounds.fTop - 1, in GetSpotShadowTransform()
DSkRRect.cpp475 SkScalar yScale = matrix.getScaleY(); in transform() local
485 yScale = matrix.getSkewX() * (isClockwise ? -1 : 1); in transform()
506 const bool flipY = yScale < 0; in transform()
508 yScale = -yScale; in transform()
514 dst->fRadii[i].fY *= yScale; in transform()
DSkScalerContext.cpp873 SkScalar yScale = SkScalarAbs(GA.get(SkMatrix::kMScaleY)); in computeMatrices() local
874 s->fX = yScale; in computeMatrices()
875 s->fY = yScale; in computeMatrices()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp998 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1005 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1068 const tcu::Vec4 dy = ((m_values.coordMax - m_values.coordMin) / h) * yScale; in verify()
1071 …DerivateThreshold(m_definitions.precision, m_values.coordMin*yScale, m_values.coordMax*yScale, dy); in verify()
1301 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1311 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1368 const tcu::Vec4 dy = ((m_textureValues.texValueMax - m_textureValues.texValueMin) / h) * yScale; in verify()
1371 …d(m_definitions.precision, m_textureValues.texValueMin*yScale, m_textureValues.texValueMax*yScale,… in verify()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp998 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1005 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1068 const tcu::Vec4 dy = ((m_values.coordMax - m_values.coordMin) / h) * yScale; in verify()
1071 …DerivateThreshold(m_definitions.precision, m_values.coordMin*yScale, m_values.coordMax*yScale, dy); in verify()
1301 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1311 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1368 const tcu::Vec4 dy = ((m_textureValues.texValueMax - m_textureValues.texValueMin) / h) * yScale; in verify()
1371 …d(m_definitions.precision, m_textureValues.texValueMin*yScale, m_textureValues.texValueMax*yScale,… in verify()
/third_party/gstreamer/gstplugins_good/tests/examples/qt/qmloverlay/
Doverlay.qml7 transform: Scale { origin.x : 0; origin.y : height / 2.; yScale : -1 }
Doverlay2.qml7 transform: Scale { origin.x : 0; origin.y : height / 2.; yScale : -1 }
/third_party/skia/third_party/externals/d3d12allocator/src/
DCommon.h295 float yScale = 1.0f / tan(fovY * 0.5f); in Perspective() local
296 float xScale = yScale / aspectRatio; in Perspective()
299 0.0f, yScale, 0.0f, 0.0f, in Perspective()
/third_party/flutter/skia/tests/
DRoundRectTest.cpp668 SkScalar yScale = 3.2f; in test_transform_helper() local
671 matrix.setScaleY(yScale); in test_transform_helper()
680 orig.radii((SkRRect::Corner) i).fY * yScale)); in test_transform_helper()
685 orig.rect().height() * yScale)); in test_transform_helper()
689 orig.rect().top() * yScale)); in test_transform_helper()
/third_party/skia/tests/
DRoundRectTest.cpp671 SkScalar yScale = 3.2f; in test_transform_helper() local
674 matrix.setScaleY(yScale); in test_transform_helper()
683 orig.radii((SkRRect::Corner) i).fY * yScale)); in test_transform_helper()
688 orig.rect().height() * yScale)); in test_transform_helper()
692 orig.rect().top() * yScale)); in test_transform_helper()
/third_party/flutter/skia/tools/debugger/
DDrawCommand.cpp320 SkScalar yScale = SkIntToScalar(size.fHeight - 2) / input.height(); in render_bitmap() local
323 yScale *= input.height() / (float)input.width(); in render_bitmap()
329 SK_Scalar1, SK_Scalar1, xScale * input.width(), yScale * input.height()); in render_bitmap()
352 srcRect->fTop * yScale + SK_Scalar1, in render_bitmap()
354 srcRect->fBottom * yScale + SK_Scalar1); in render_bitmap()
/third_party/skia/src/pdf/
DSkPDFDevice.cpp742 SkScalar xScale, SkScalar yScale, in get_glyph_bounds_device_space() argument
744 SkRect glyphBounds = SkMatrix::Scale(xScale, yScale).mapRect(glyph->rect()); in get_glyph_bounds_device_space()
/third_party/flutter/skia/src/pdf/
DSkPDFDevice.cpp716 SkScalar xScale, SkScalar yScale, in get_glyph_bounds_device_space() argument
718 SkRect glyphBounds = SkMatrix::MakeScale(xScale, yScale).mapRect(glyph->rect()); in get_glyph_bounds_device_space()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp110226 float yScale; member
110228 constexpr ScaleFactors2D() : xScale(1.0), yScale(1.0) {} in ScaleFactors2D()
110230 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D()
110232 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D()
110235 : xScale(aSize.width), yScale(aSize.height) {} in ScaleFactors2D()
110242 : xScale(aScale.scale), yScale(aScale.scale) {} in ScaleFactors2D()
110245 return FuzzyEqualsMultiplicative(xScale, yScale); in AreScalesSame()
110255 return xScale == aOther.xScale && yScale == aOther.yScale; in operator ==()
110267 return aStream << '(' << aScale.xScale << ',' << aScale.yScale << ')'; in operator <<()
110273 return ScaleFactors2D<other, dst>(xScale / aOther.xScale, yScale / aOther.yScale); in operator /()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp3798 …const float yScale = static_cast<float>(blit.srcOffsets[1].y - blit.srcOffsets[0].y) / static_cast… in forEach() local
3811 …(yScale * (static_cast<float>(y - blit.dstOffsets[0].y) + 0.5f) + static_cast<float>(blit.srcOffse… in forEach()
4282 const int yScale = (mirrorMode & MIRROR_MODE_Y) ? -1 : 1; in blit() local
4289 …loat)y + 0.5f) * sY, ((float)z + 0.5f) * sZ)), x * xScale + xOffset, y * yScale + yOffset, z * zSc… in blit()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp3798 …const float yScale = static_cast<float>(blit.srcOffsets[1].y - blit.srcOffsets[0].y) / static_cast… in forEach() local
3811 …(yScale * (static_cast<float>(y - blit.dstOffsets[0].y) + 0.5f) + static_cast<float>(blit.srcOffse… in forEach()
4282 const int yScale = (mirrorMode & MIRROR_MODE_Y) ? -1 : 1; in blit() local
4289 …loat)y + 0.5f) * sY, ((float)z + 0.5f) * sZ)), x * xScale + xOffset, y * yScale + yOffset, z * zSc… in blit()