/external/skia/tests/ |
D | Point3Test.cpp | 71 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/ |
D | Point3Test.cpp | 71 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()
|
D | PathOpsAngleIdeas.cpp | 78 double m = r * SK_ScalarRoot2Over2; in orderQuads()
|
/external/skia/tools/ |
D | ToolUtils.cpp | 304 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/ |
D | sk_tool_utils.cpp | 233 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/ |
D | lightingshader.cpp | 73 SkVector3::Make(SK_ScalarRoot2Over2, in onOnceBeforeDraw() 75 SK_ScalarRoot2Over2))); in onOnceBeforeDraw()
|
D | dashing.cpp | 304 canvas->translate(332+SK_ScalarRoot2Over2*100, 110+SK_ScalarRoot2Over2*100); in onDraw()
|
/external/skia/docs/examples/ |
D | Arc.cpp | 40 path.conicTo({56, 56}, {32, 56}, SK_ScalarRoot2Over2);
|
/external/skia/src/core/ |
D | SkStrokerPriv.cpp | 27 path->conicTo(projectedCenter + normal, projectedCenter, SK_ScalarRoot2Over2); in RoundCapper() 28 path->conicTo(projectedCenter - normal, stop, SK_ScalarRoot2Over2); in RoundCapper()
|
D | SkPathBuilder.cpp | 675 this->conicTo(rectIter.next(), ovalIter.next(), SK_ScalarRoot2Over2); in addOval() 700 const SkScalar weight = SK_ScalarRoot2Over2; in addRRect()
|
D | SkRRect.cpp | 774 static constexpr SkScalar kScale = (1.f - SK_ScalarRoot2Over2) + 1e-5f; in InnerBounds()
|
D | SkGpuBlurUtils.cpp | 815 x = (-6 * x + 3) * SK_ScalarRoot2Over2; in CreateIntegralTable()
|
/external/skqp/src/core/ |
D | SkStrokerPriv.cpp | 27 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/ |
D | PuckerBloat.cpp | 100 SkASSERT(SkScalarNearlyEqual(iter.conicWeight(), SK_ScalarRoot2Over2)); in onRevalidateEffect()
|
/external/skia/include/core/ |
D | SkScalar.h | 23 #define SK_ScalarRoot2Over2 0.707106781f macro
|
/external/skqp/include/core/ |
D | SkScalar.h | 23 #define SK_ScalarRoot2Over2 0.707106781f macro
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCStrokeGeometry.cpp | 467 Sk2f heights = SkNx_fma(r, Sk2f(miterCapHeightOverWidth, -SK_ScalarRoot2Over2), Sk2f(0, 1)); in recordLeftJoinIfNotEmpty() 554 if (fCurrStrokeRadius * SK_ScalarRoot2Over2 < kMaxErrorFromLinearization) { in recordCapsIfAny()
|
D | GrCCStroker.cpp | 495 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/ |
D | dashing.cpp | 293 canvas->translate(332+SK_ScalarRoot2Over2*100, 110+SK_ScalarRoot2Over2*100); in onDraw()
|
D | runtimeshader.cpp | 423 float scale = (1 - SK_ScalarRoot2Over2) / (1 - exp2f(-1/fPower)); in drawSuperRRect()
|
D | blurrect.cpp | 346 auto scale = SK_ScalarRoot2Over2 / sigma; in prepareReferenceMasks()
|
/external/skqp/src/gpu/ops/ |
D | GrAAFillRRectOp.cpp | 141 static constexpr float kOctoOffset = 1/(1 + SK_ScalarRoot2Over2);
|
/external/skqp/src/gpu/ |
D | SkGr.cpp | 614 SkScalar mipScale = sharpenMipmappedTextures ? SK_ScalarRoot2Over2 : SK_Scalar1; in GrSkFilterQualityToGrFilterMode()
|
/external/skia/src/gpu/ops/ |
D | GrFillRRectOp.cpp | 348 static constexpr float kOctoOffset = 1/(1 + SK_ScalarRoot2Over2);
|
/external/skia/src/gpu/ |
D | SkGpuDevice_drawTexture.cpp | 738 SkScalar mipScale = sharpenMipmappedTextures ? SK_ScalarRoot2Over2 : SK_Scalar1; in can_disable_mipmap()
|