Home
last modified time | relevance | path

Searched refs:maxScale (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/src/core/
H A DSkGlyphRunPainter.cpp145 SkScalar maxScale = SK_ScalarMin; in drawForBitmapDevice() local
158 maxScale = std::max(maxScale, scale); in drawForBitmapDevice()
161 maxScale = std::max(maxScale, scale); in drawForBitmapDevice()
164 maxScale = std::max(maxScale, scale); in drawForBitmapDevice()
167 maxScale = std::max(maxScale, scale); in drawForBitmapDevice()
170 if (maxScale * runFon in drawForBitmapDevice()
[all...]
H A DSkStrikeSpec.cpp187 SkScalar minScale, maxScale; in MakeSDFT() local
188 std::tie(minScale, maxScale) = control.computeSDFMinMaxScale(font.getSize(), deviceMatrix); in MakeSDFT()
192 return std::make_tuple(std::move(strikeSpec), strikeToSourceScale, minScale, maxScale); in MakeSDFT()
H A DSkGlyphRunPainter.h164 SkScalar maxScale) = 0;
/third_party/skia/src/gpu/text/
H A DGrSDFTControl.cpp57 SkScalar maxScale = viewMatrix.getMaxScale(); variable
58 SkScalar scaledTextSize = maxScale * font.getSize();
89 SkScalar maxScale = viewMatrix.getMaxScale(); in scaled_text_size() local
92 // TODO: do we need to do this if we're scaling down (i.e. maxScale < 1)? in scaled_text_size()
93 if (maxScale > 0 && !SkScalarNearlyEqual(maxScale, SK_Scalar1)) { in scaled_text_size()
94 scaledTextSize *= maxScale; in scaled_text_size()
H A DGrTextBlob.h266 SkScalar maxScale) override;
318 SkScalar minScale, SkScalar maxScale) override;
H A DGrTextBlob.cpp1653 SkScalar maxScale) { in processSourceSDFT()
1656 fMinMaxScale = std::min(maxScale, fMinMaxScale); in processSourceSDFT()
2450 SkScalar minScale, SkScalar maxScale) { in processSourceSDFT()
1648 processSourceSDFT(const SkZip<SkGlyphVariant, SkPoint>& drawables, sk_sp<SkStrike>&& strike, SkScalar strikeToSourceScale, const SkFont& runFont, SkScalar minScale, SkScalar maxScale) processSourceSDFT() argument
2446 processSourceSDFT(const SkZip<SkGlyphVariant, SkPoint>& drawables, sk_sp<SkStrike>&& strike, SkScalar strikeToSourceScale, const SkFont& runFont, SkScalar minScale, SkScalar maxScale) processSourceSDFT() argument
/third_party/skia/src/gpu/ops/
H A DSmallPathRenderer.cpp231 SkScalar maxScale; variable
237 maxScale = SkScalarAbs(std::max(xformedBounds.width() / bounds.width(),
240 maxScale = SkScalarAbs(args.fViewMatrix.getMaxScale());
246 // Our mipscale is the maxScale clamped to the next highest power of 2
247 if (maxScale <= SK_ScalarHalf) {
248 SkScalar log = SkScalarFloorToScalar(SkScalarLog2(SkScalarInvert(maxScale)));
250 } else if (maxScale > SK_Scalar1) {
251 SkScalar log = SkScalarCeilToScalar(SkScalarLog2(maxScale));
256 SkASSERT(maxScale <= mipScale + SK_ScalarNearlyZero);
H A DAALinearizingConvexPathRenderer.cpp120 SkScalar maxScale = viewMatrix.getMaxScale(); in AAFlatteningConvexPathOp() local
122 SkASSERT(maxScale != -1); in AAFlatteningConvexPathOp()
123 if (SkPaint::kMiter_Join == join && w * maxScale > 1.f) { in AAFlatteningConvexPathOp()
/third_party/skia/src/gpu/tessellate/shaders/
H A DGrStrokeTessellationShader.cpp380 float maxScale = shader.viewMatrix().getMaxScale(); in setData() local
382 skgpu::StrokeTolerances::CalcParametricPrecision(maxScale)); in setData()
/third_party/skia/third_party/externals/freetype/src/psaux/
H A Dpsft.c68 CF2_Fixed maxScale; in cf2_checkTransform() local
82 maxScale = FT_DivFix( CF2_MAX_SIZE, cf2_intToFixed( unitsPerEm ) ); in cf2_checkTransform()
84 if ( transform->a > maxScale || transform->d > maxScale ) in cf2_checkTransform()
/third_party/skia/tests/
H A DMatrixTest.cpp269 SkScalar maxScale = mat.getMaxScale(); in test_matrix_min_max_scale() local
270 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale()
271 REPORTER_ASSERT(reporter, (maxScale < 0) == mat.hasPerspective()); in test_matrix_min_max_scale()
275 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale()
282 // test a bunch of vectors. All should be scaled by between minScale and maxScale in test_matrix_min_max_scale()
299 REPORTER_ASSERT(reporter, d / maxScale < gVectorScaleTol); in test_matrix_min_max_scale()
308 REPORTER_ASSERT(reporter, max / maxScale >= gCloseScaleTol); in test_matrix_min_max_scale()
/third_party/glfw/src/
H A Dwl_window.c407 int32_t maxScale = 1; in _glfwUpdateBufferScaleFromOutputsWayland()
410 maxScale = _glfw_max(window->wl.outputScales[i].factor, maxScale); in _glfwUpdateBufferScaleFromOutputsWayland()
413 if (window->wl.bufferScale != maxScale) in _glfwUpdateBufferScaleFromOutputsWayland()
415 window->wl.bufferScale = maxScale; in _glfwUpdateBufferScaleFromOutputsWayland()
416 wl_surface_set_buffer_scale(window->wl.surface, maxScale); in _glfwUpdateBufferScaleFromOutputsWayland()
417 _glfwInputWindowContentScale(window, maxScale, maxScale); in _glfwUpdateBufferScaleFromOutputsWayland()
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgBinaryOps.cpp466 const float maxScale = 2.0f; in operator ()() local
470 float scale = getQuantizedFloat(rnd, minScale, maxScale, scaleStep); in operator ()()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_lens_correction.cpp2252 const real64 maxScale = Max_real32 (table32.Interpolate (0.0f),
2263 while ((1 << fTableOutputBits) * maxScale > 65535.0)

Completed in 21 milliseconds