Home
last modified time | relevance | path

Searched refs:SK_ScalarRoot2Over2 (Results 1 – 25 of 33) sorted by relevance

12

/external/skia/tests/
DPoint3Test.cpp71 v = SkPoint3::Make(SK_ScalarRoot2Over2, SK_ScalarRoot2Over2, 0.0f); in test_dot()
74 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dot, SK_ScalarRoot2Over2)); in test_dot()
77 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dot, SK_ScalarRoot2Over2)); in test_dot()
134 { 0.3f, 0.4f, 0.5f, SK_ScalarRoot2Over2 }, in DEF_TEST()
/external/skqp/tests/
DPoint3Test.cpp71 v = SkPoint3::Make(SK_ScalarRoot2Over2, SK_ScalarRoot2Over2, 0.0f); in test_dot()
74 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dot, SK_ScalarRoot2Over2)); in test_dot()
77 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dot, SK_ScalarRoot2Over2)); in test_dot()
134 { 0.3f, 0.4f, 0.5f, SK_ScalarRoot2Over2 }, in DEF_TEST()
DPathOpsAngleIdeas.cpp78 double m = r * SK_ScalarRoot2Over2; in orderQuads()
/external/skia/tools/
DToolUtils.cpp304 const SkPoint3 left = SkPoint3::Make(-SK_ScalarRoot2Over2, 0.0f, SK_ScalarRoot2Over2); in create_frustum_normal_map()
305 const SkPoint3 up = SkPoint3::Make(0.0f, -SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); in create_frustum_normal_map()
306 const SkPoint3 right = SkPoint3::Make(SK_ScalarRoot2Over2, 0.0f, SK_ScalarRoot2Over2); in create_frustum_normal_map()
307 const SkPoint3 down = SkPoint3::Make(0.0f, SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); in create_frustum_normal_map()
346 const SkPoint3 down = SkPoint3::Make(0.0f, SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); in create_tetra_normal_map()
/external/skqp/tools/
Dsk_tool_utils.cpp233 const SkPoint3 left = SkPoint3::Make(-SK_ScalarRoot2Over2, 0.0f, SK_ScalarRoot2Over2); in create_frustum_normal_map()
234 const SkPoint3 up = SkPoint3::Make(0.0f, -SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); in create_frustum_normal_map()
235 const SkPoint3 right = SkPoint3::Make(SK_ScalarRoot2Over2, 0.0f, SK_ScalarRoot2Over2); in create_frustum_normal_map()
236 const SkPoint3 down = SkPoint3::Make(0.0f, SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); in create_frustum_normal_map()
275 const SkPoint3 down = SkPoint3::Make(0.0f, SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); in create_tetra_normal_map()
/external/skqp/gm/
Dlightingshader.cpp73 SkVector3::Make(SK_ScalarRoot2Over2, in onOnceBeforeDraw()
75 SK_ScalarRoot2Over2))); in onOnceBeforeDraw()
Ddashing.cpp304 canvas->translate(332+SK_ScalarRoot2Over2*100, 110+SK_ScalarRoot2Over2*100); in onDraw()
/external/skia/docs/examples/
DArc.cpp40 path.conicTo({56, 56}, {32, 56}, SK_ScalarRoot2Over2);
/external/skia/src/core/
DSkStrokerPriv.cpp27 path->conicTo(projectedCenter + normal, projectedCenter, SK_ScalarRoot2Over2); in RoundCapper()
28 path->conicTo(projectedCenter - normal, stop, SK_ScalarRoot2Over2); in RoundCapper()
DSkPathBuilder.cpp675 this->conicTo(rectIter.next(), ovalIter.next(), SK_ScalarRoot2Over2); in addOval()
700 const SkScalar weight = SK_ScalarRoot2Over2; in addRRect()
DSkRRect.cpp774 static constexpr SkScalar kScale = (1.f - SK_ScalarRoot2Over2) + 1e-5f; in InnerBounds()
DSkGpuBlurUtils.cpp815 x = (-6 * x + 3) * SK_ScalarRoot2Over2; in CreateIntegralTable()
/external/skqp/src/core/
DSkStrokerPriv.cpp27 path->conicTo(projectedCenter + normal, projectedCenter, SK_ScalarRoot2Over2); in RoundCapper()
28 path->conicTo(projectedCenter - normal, stop, SK_ScalarRoot2Over2); in RoundCapper()
/external/skia/modules/skottie/src/layers/shapelayer/
DPuckerBloat.cpp100 SkASSERT(SkScalarNearlyEqual(iter.conicWeight(), SK_ScalarRoot2Over2)); in onRevalidateEffect()
/external/skia/include/core/
DSkScalar.h23 #define SK_ScalarRoot2Over2 0.707106781f macro
/external/skqp/include/core/
DSkScalar.h23 #define SK_ScalarRoot2Over2 0.707106781f macro
/external/skqp/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp467 Sk2f heights = SkNx_fma(r, Sk2f(miterCapHeightOverWidth, -SK_ScalarRoot2Over2), Sk2f(0, 1)); in recordLeftJoinIfNotEmpty()
554 if (fCurrStrokeRadius * SK_ScalarRoot2Over2 < kMaxErrorFromLinearization) { in recordCapsIfAny()
DGrCCStroker.cpp495 this->appendConicInstance().setW(n, n + v, v, offset, SK_ScalarRoot2Over2); in appendCap()
496 this->appendConicInstance().setW(v, v - n, -n, offset, SK_ScalarRoot2Over2); in appendCap()
/external/skia/gm/
Ddashing.cpp293 canvas->translate(332+SK_ScalarRoot2Over2*100, 110+SK_ScalarRoot2Over2*100); in onDraw()
Druntimeshader.cpp423 float scale = (1 - SK_ScalarRoot2Over2) / (1 - exp2f(-1/fPower)); in drawSuperRRect()
Dblurrect.cpp346 auto scale = SK_ScalarRoot2Over2 / sigma; in prepareReferenceMasks()
/external/skqp/src/gpu/ops/
DGrAAFillRRectOp.cpp141 static constexpr float kOctoOffset = 1/(1 + SK_ScalarRoot2Over2);
/external/skqp/src/gpu/
DSkGr.cpp614 SkScalar mipScale = sharpenMipmappedTextures ? SK_ScalarRoot2Over2 : SK_Scalar1; in GrSkFilterQualityToGrFilterMode()
/external/skia/src/gpu/ops/
DGrFillRRectOp.cpp348 static constexpr float kOctoOffset = 1/(1 + SK_ScalarRoot2Over2);
/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp738 SkScalar mipScale = sharpenMipmappedTextures ? SK_ScalarRoot2Over2 : SK_Scalar1; in can_disable_mipmap()

12