Home
last modified time | relevance | path

Searched refs:Make (Results 1 – 25 of 4028) sorted by relevance

12345678910>>...162

/third_party/flutter/skia/tests/
DInsetConvexPolyTest.cpp14 *rrectPoly.push() = SkPoint::Make(-100, 55); in DEF_TEST()
15 *rrectPoly.push() = SkPoint::Make(100, 55); in DEF_TEST()
16 *rrectPoly.push() = SkPoint::Make(100 + 2.5f, 50 + 4.330127f); in DEF_TEST()
17 *rrectPoly.push() = SkPoint::Make(100 + 3.535534f, 50 + 3.535534f); in DEF_TEST()
18 *rrectPoly.push() = SkPoint::Make(100 + 4.330127f, 50 + 2.5f); in DEF_TEST()
19 *rrectPoly.push() = SkPoint::Make(105, 50); in DEF_TEST()
20 *rrectPoly.push() = SkPoint::Make(105, -50); in DEF_TEST()
21 *rrectPoly.push() = SkPoint::Make(100 + 4.330127f, -50 - 2.5f); in DEF_TEST()
22 *rrectPoly.push() = SkPoint::Make(100 + 3.535534f, -50 - 3.535534f); in DEF_TEST()
23 *rrectPoly.push() = SkPoint::Make(100 + 2.5f, -50 - 4.330127f); in DEF_TEST()
[all …]
DOffsetSimplePolyTest.cpp17 *rrectPoly.push() = SkPoint::Make(-100, 55); in DEF_TEST()
18 *rrectPoly.push() = SkPoint::Make(100, 55); in DEF_TEST()
19 *rrectPoly.push() = SkPoint::Make(100 + 2.5f, 50 + 4.330127f); in DEF_TEST()
20 *rrectPoly.push() = SkPoint::Make(100 + 3.535534f, 50 + 3.535534f); in DEF_TEST()
21 *rrectPoly.push() = SkPoint::Make(100 + 4.330127f, 50 + 2.5f); in DEF_TEST()
22 *rrectPoly.push() = SkPoint::Make(105, 50); in DEF_TEST()
23 *rrectPoly.push() = SkPoint::Make(105, -50); in DEF_TEST()
24 *rrectPoly.push() = SkPoint::Make(100 + 4.330127f, -50 - 2.5f); in DEF_TEST()
25 *rrectPoly.push() = SkPoint::Make(100 + 3.535534f, -50 - 3.535534f); in DEF_TEST()
26 *rrectPoly.push() = SkPoint::Make(100 + 2.5f, -50 - 4.330127f); in DEF_TEST()
[all …]
DPolyUtilsTest.cpp21 *poly.push() = SkPoint::Make(-100, 55); in DEF_TEST()
22 *poly.push() = SkPoint::Make(100, 55); in DEF_TEST()
23 *poly.push() = SkPoint::Make(102.5f, 54.330127f); in DEF_TEST()
86 *poly.push() = SkPoint::Make(-100, 55); in DEF_TEST()
87 *poly.push() = SkPoint::Make(100, 55); in DEF_TEST()
88 *poly.push() = SkPoint::Make(100 + 2.5f, 50 + 4.330127f); in DEF_TEST()
89 *poly.push() = SkPoint::Make(100 + 3.535534f, 50 + 3.535534f); in DEF_TEST()
90 *poly.push() = SkPoint::Make(100 + 4.330127f, 50 + 2.5f); in DEF_TEST()
91 *poly.push() = SkPoint::Make(105, 50); in DEF_TEST()
92 *poly.push() = SkPoint::Make(105, -50); in DEF_TEST()
[all …]
DMipMapTest.cpp29 REPORTER_ASSERT(reporter, !mm->extractLevel(SkSize::Make(SK_Scalar1, SK_Scalar1), in DEF_TEST()
31 REPORTER_ASSERT(reporter, !mm->extractLevel(SkSize::Make(SK_Scalar1 * 2, SK_Scalar1 * 2), in DEF_TEST()
42 if (mm->extractLevel(SkSize::Make(scale, scale), &level)) { in DEF_TEST()
168 {-100, 100, 0, SkISize::Make(0, 0)}, in DEF_TEST()
169 {100, -100, 0, SkISize::Make(0, 0)}, in DEF_TEST()
170 {-100, -100, 0, SkISize::Make(0, 0)}, in DEF_TEST()
176 {0, 100, 0, SkISize::Make(0, 0)}, in DEF_TEST()
177 {100, 0, 0, SkISize::Make(0, 0)}, in DEF_TEST()
178 {0, 0, 0, SkISize::Make(0, 0)}, in DEF_TEST()
181 {1, 100, 0, SkISize::Make(1, 50)}, in DEF_TEST()
[all …]
/third_party/skia/tests/
DInsetConvexPolyTest.cpp14 *rrectPoly.push() = SkPoint::Make(-100, 55); in DEF_TEST()
15 *rrectPoly.push() = SkPoint::Make(100, 55); in DEF_TEST()
16 *rrectPoly.push() = SkPoint::Make(100 + 2.5f, 50 + 4.330127f); in DEF_TEST()
17 *rrectPoly.push() = SkPoint::Make(100 + 3.535534f, 50 + 3.535534f); in DEF_TEST()
18 *rrectPoly.push() = SkPoint::Make(100 + 4.330127f, 50 + 2.5f); in DEF_TEST()
19 *rrectPoly.push() = SkPoint::Make(105, 50); in DEF_TEST()
20 *rrectPoly.push() = SkPoint::Make(105, -50); in DEF_TEST()
21 *rrectPoly.push() = SkPoint::Make(100 + 4.330127f, -50 - 2.5f); in DEF_TEST()
22 *rrectPoly.push() = SkPoint::Make(100 + 3.535534f, -50 - 3.535534f); in DEF_TEST()
23 *rrectPoly.push() = SkPoint::Make(100 + 2.5f, -50 - 4.330127f); in DEF_TEST()
[all …]
DOffsetSimplePolyTest.cpp17 *rrectPoly.push() = SkPoint::Make(-100, 55); in DEF_TEST()
18 *rrectPoly.push() = SkPoint::Make(100, 55); in DEF_TEST()
19 *rrectPoly.push() = SkPoint::Make(100 + 2.5f, 50 + 4.330127f); in DEF_TEST()
20 *rrectPoly.push() = SkPoint::Make(100 + 3.535534f, 50 + 3.535534f); in DEF_TEST()
21 *rrectPoly.push() = SkPoint::Make(100 + 4.330127f, 50 + 2.5f); in DEF_TEST()
22 *rrectPoly.push() = SkPoint::Make(105, 50); in DEF_TEST()
23 *rrectPoly.push() = SkPoint::Make(105, -50); in DEF_TEST()
24 *rrectPoly.push() = SkPoint::Make(100 + 4.330127f, -50 - 2.5f); in DEF_TEST()
25 *rrectPoly.push() = SkPoint::Make(100 + 3.535534f, -50 - 3.535534f); in DEF_TEST()
26 *rrectPoly.push() = SkPoint::Make(100 + 2.5f, -50 - 4.330127f); in DEF_TEST()
[all …]
DPolyUtilsTest.cpp21 *poly.push() = SkPoint::Make(-100, 55); in DEF_TEST()
22 *poly.push() = SkPoint::Make(100, 55); in DEF_TEST()
23 *poly.push() = SkPoint::Make(102.5f, 54.330127f); in DEF_TEST()
86 *poly.push() = SkPoint::Make(-100, 55); in DEF_TEST()
87 *poly.push() = SkPoint::Make(100, 55); in DEF_TEST()
88 *poly.push() = SkPoint::Make(100 + 2.5f, 50 + 4.330127f); in DEF_TEST()
89 *poly.push() = SkPoint::Make(100 + 3.535534f, 50 + 3.535534f); in DEF_TEST()
90 *poly.push() = SkPoint::Make(100 + 4.330127f, 50 + 2.5f); in DEF_TEST()
91 *poly.push() = SkPoint::Make(105, 50); in DEF_TEST()
92 *poly.push() = SkPoint::Make(105, -50); in DEF_TEST()
[all …]
DMipMapTest.cpp30 REPORTER_ASSERT(reporter, !mm->extractLevel(SkSize::Make(SK_Scalar1, SK_Scalar1), in DEF_TEST()
32 REPORTER_ASSERT(reporter, !mm->extractLevel(SkSize::Make(SK_Scalar1 * 2, SK_Scalar1 * 2), in DEF_TEST()
43 if (mm->extractLevel(SkSize::Make(scale, scale), &level)) { in DEF_TEST()
169 {-100, 100, 0, SkISize::Make(0, 0)}, in DEF_TEST()
170 {100, -100, 0, SkISize::Make(0, 0)}, in DEF_TEST()
171 {-100, -100, 0, SkISize::Make(0, 0)}, in DEF_TEST()
177 {0, 100, 0, SkISize::Make(0, 0)}, in DEF_TEST()
178 {100, 0, 0, SkISize::Make(0, 0)}, in DEF_TEST()
179 {0, 0, 0, SkISize::Make(0, 0)}, in DEF_TEST()
182 {1, 100, 0, SkISize::Make(1, 50)}, in DEF_TEST()
[all …]
/third_party/skia/bench/
DPatchBench.cpp239 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kNone_VertexMode); )
240 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kColors_VertexMode); )
241 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kTexCoords_VertexMode); )
242 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kBoth_VertexMode); )
243 DEF_BENCH( return new PatchBench(SkVector::Make(1.f, 1.0f), PatchBench::kNone_VertexMode); )
244 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kColors_VertexMode); )
245 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kTexCoords_VertexMode); )
246 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kBoth_VertexMode); )
247 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kNone_VertexMode); )
248 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kColors_VertexMode); )
[all …]
/third_party/flutter/skia/bench/
DPatchBench.cpp238 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kNone_VertexMode); )
239 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kColors_VertexMode); )
240 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kTexCoords_VertexMode); )
241 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kBoth_VertexMode); )
242 DEF_BENCH( return new PatchBench(SkVector::Make(1.f, 1.0f), PatchBench::kNone_VertexMode); )
243 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kColors_VertexMode); )
244 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kTexCoords_VertexMode); )
245 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kBoth_VertexMode); )
246 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kNone_VertexMode); )
247 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kColors_VertexMode); )
[all …]
/third_party/skia/gm/
Dxform.cpp25 fRoot = MatrixXF::Make(); in XformGM()
27 fRA = MatrixXF::Make(fRoot); in XformGM()
28 fRB = MatrixXF::Make(fRoot); in XformGM()
30 fA = MatrixXF::Make(fRA); in XformGM()
31 fB = MatrixXF::Make(fRB); in XformGM()
39 sk_sp<GroupShape> g = GroupShape::Make(); in XformGM()
40 g->append(GeoShape::Make(fA, {0, 0, 100, 60}, SK_ColorRED)); in XformGM()
41 g->append(GeoShape::Make(fB, {0, 0, 100, 60}, SK_ColorGREEN)); in XformGM()
42 g->append(GeoShape::Make(fRA, {0, 0, 100, 60}, SK_ColorBLUE)); in XformGM()
43 g->append(GeoShape::Make(fRB, {0, 0, 100, 60}, SK_ColorGRAY)); in XformGM()
[all …]
Dpictureimagegenerator.cpp88 const SkPoint pts1[] = { SkPoint::Make(underlineRect.x(), 0), in draw_vector_logo()
89 SkPoint::Make(iBox.centerX(), 0) }; in draw_vector_logo()
97 const SkPoint pts2[] = { SkPoint::Make(iBox.x() - iBox.width() * kGradientPad, 0), in draw_vector_logo()
98 SkPoint::Make(iBox.right() + iBox.width() * kGradientPad, 0) }; in draw_vector_logo()
125 return SkISize::Make(1160, 860); in onISize()
142 { SkISize::Make(200, 100), 1, 1, 1 }, in onDraw()
143 { SkISize::Make(200, 200), 1, 1, 1 }, in onDraw()
144 { SkISize::Make(200, 200), 1, 2, 1 }, in onDraw()
145 { SkISize::Make(400, 200), 2, 2, 1 }, in onDraw()
147 { SkISize::Make(200, 100), 1, 1, 0.9f }, in onDraw()
[all …]
Ddegeneratesegments.cpp43 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMove()
49 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveClose()
61 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenLine()
68 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenLineClose()
81 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenQuad()
88 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenQuadClose()
101 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenCubic()
108 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenCubicClose()
121 SkPoint endPt = startPt + SkPoint::Make(40*SK_Scalar1, 0); in AddLine()
127 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveLine()
[all …]
/third_party/flutter/skia/gm/
Dxform.cpp25 fRoot = MatrixXF::Make(); in XformGM()
27 fRA = MatrixXF::Make(fRoot); in XformGM()
28 fRB = MatrixXF::Make(fRoot); in XformGM()
30 fA = MatrixXF::Make(fRA); in XformGM()
31 fB = MatrixXF::Make(fRB); in XformGM()
39 sk_sp<GroupShape> g = GroupShape::Make(); in XformGM()
40 g->append(GeoShape::Make(fA, {0, 0, 100, 60}, SK_ColorRED)); in XformGM()
41 g->append(GeoShape::Make(fB, {0, 0, 100, 60}, SK_ColorGREEN)); in XformGM()
42 g->append(GeoShape::Make(fRA, {0, 0, 100, 60}, SK_ColorBLUE)); in XformGM()
43 g->append(GeoShape::Make(fRB, {0, 0, 100, 60}, SK_ColorGRAY)); in XformGM()
[all …]
Dpictureimagegenerator.cpp90 const SkPoint pts1[] = { SkPoint::Make(underlineRect.x(), 0), in draw_vector_logo()
91 SkPoint::Make(iBox.centerX(), 0) }; in draw_vector_logo()
99 const SkPoint pts2[] = { SkPoint::Make(iBox.x() - iBox.width() * kGradientPad, 0), in draw_vector_logo()
100 SkPoint::Make(iBox.right() + iBox.width() * kGradientPad, 0) }; in draw_vector_logo()
127 return SkISize::Make(1160, 860); in onISize()
144 { SkISize::Make(200, 100), 1, 1, 1 }, in onDraw()
145 { SkISize::Make(200, 200), 1, 1, 1 }, in onDraw()
146 { SkISize::Make(200, 200), 1, 2, 1 }, in onDraw()
147 { SkISize::Make(400, 200), 2, 2, 1 }, in onDraw()
149 { SkISize::Make(200, 100), 1, 1, 0.9f }, in onDraw()
[all …]
Ddegeneratesegments.cpp43 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMove()
49 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveClose()
61 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenLine()
68 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenLineClose()
81 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenQuad()
88 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenQuadClose()
101 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenCubic()
108 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenCubicClose()
121 SkPoint endPt = startPt + SkPoint::Make(40*SK_Scalar1, 0); in AddLine()
127 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveLine()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/
DOpDescriptor.h56 MakeT Make; variable
60 SourcePred(PredT Pred, MakeT Make) : Pred(Pred), Make(Make) {} in SourcePred() argument
62 Make = [Pred](ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes) { in SourcePred()
84 return Make(Cur, BaseTypes); in generate()
99 auto Make = [Only](ArrayRef<Value *>, ArrayRef<Type *>) { in onlyType()
102 return {Pred, Make}; in onlyType()
109 auto Make = None; in anyType() local
110 return {Pred, Make}; in anyType()
117 auto Make = None; in anyIntType() local
118 return {Pred, Make}; in anyIntType()
[all …]
/third_party/flutter/skia/src/gpu/ops/
DGrShadowRRectOp.cpp292 SkPoint center = SkPoint::Make(bounds.centerX(), bounds.centerY()); in fillInCircleVerts()
296 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
298 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts()
302 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
304 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts()
308 (*verts)->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
310 (*verts)->fOffset = SkPoint::Make(1, -octOffset); in fillInCircleVerts()
314 (*verts)->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth); in fillInCircleVerts()
316 (*verts)->fOffset = SkPoint::Make(1, octOffset); in fillInCircleVerts()
320 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, halfWidth); in fillInCircleVerts()
[all …]
/third_party/skia/modules/sksg/tests/
DSGTest.cpp77 auto color = sksg::Color::Make(0xff000000); in inval_test1()
78 auto r1 = sksg::Rect::Make(SkRect::MakeWH(100, 100)), in inval_test1()
79 r2 = sksg::Rect::Make(SkRect::MakeWH(100, 100)); in inval_test1()
80 auto grp = sksg::Group::Make(); in inval_test1()
81 auto matrix = sksg::Matrix<SkMatrix>::Make(SkMatrix::I()); in inval_test1()
82 auto root = sksg::TransformEffect::Make(grp, matrix); in inval_test1()
83 auto d1 = sksg::Draw::Make(r1, color), in inval_test1()
84 d2 = sksg::Draw::Make(r2, color); in inval_test1()
222 auto color = sksg::Color::Make(0xff000000); in inval_test2()
223 auto rect = sksg::Rect::Make(SkRect::MakeWH(100, 100)); in inval_test2()
[all …]
/third_party/flutter/skia/modules/sksg/tests/
DSGTest.cpp77 auto color = sksg::Color::Make(0xff000000); in inval_test1()
78 auto r1 = sksg::Rect::Make(SkRect::MakeWH(100, 100)), in inval_test1()
79 r2 = sksg::Rect::Make(SkRect::MakeWH(100, 100)); in inval_test1()
80 auto grp = sksg::Group::Make(); in inval_test1()
81 auto matrix = sksg::Matrix<SkMatrix>::Make(SkMatrix::I()); in inval_test1()
82 auto root = sksg::TransformEffect::Make(grp, matrix); in inval_test1()
83 auto d1 = sksg::Draw::Make(r1, color), in inval_test1()
84 d2 = sksg::Draw::Make(r2, color); in inval_test1()
222 auto color = sksg::Color::Make(0xff000000); in inval_test2()
223 auto rect = sksg::Rect::Make(SkRect::MakeWH(100, 100)); in inval_test2()
[all …]
/third_party/skia/src/core/
DSkPathMakers.h44 fPts[0] = SkPoint::Make(rect.fLeft, rect.fTop); in SkPath_RectPointIterator()
45 fPts[1] = SkPoint::Make(rect.fRight, rect.fTop); in SkPath_RectPointIterator()
46 fPts[2] = SkPoint::Make(rect.fRight, rect.fBottom); in SkPath_RectPointIterator()
47 fPts[3] = SkPoint::Make(rect.fLeft, rect.fBottom); in SkPath_RectPointIterator()
59 fPts[0] = SkPoint::Make(cx, oval.fTop); in SkPath_OvalPointIterator()
60 fPts[1] = SkPoint::Make(oval.fRight, cy); in SkPath_OvalPointIterator()
61 fPts[2] = SkPoint::Make(cx, oval.fBottom); in SkPath_OvalPointIterator()
62 fPts[3] = SkPoint::Make(oval.fLeft, cy); in SkPath_OvalPointIterator()
77 fPts[0] = SkPoint::Make(L + rrect.radii(SkRRect::kUpperLeft_Corner).fX, T); in SkPath_RRectPointIterator()
78 fPts[1] = SkPoint::Make(R - rrect.radii(SkRRect::kUpperRight_Corner).fX, T); in SkPath_RRectPointIterator()
[all …]
/third_party/skia/modules/svg/src/
DSkSVGDOM.cpp238 { "a" , []() -> sk_sp<SkSVGNode> { return SkSVGG::Make(); }}, in __anonad5ab3fb0202()
239 { "circle" , []() -> sk_sp<SkSVGNode> { return SkSVGCircle::Make(); }}, in __anonad5ab3fb0302()
240 { "clipPath" , []() -> sk_sp<SkSVGNode> { return SkSVGClipPath::Make(); }}, in __anonad5ab3fb0402()
241 { "defs" , []() -> sk_sp<SkSVGNode> { return SkSVGDefs::Make(); }}, in __anonad5ab3fb0502()
242 { "ellipse" , []() -> sk_sp<SkSVGNode> { return SkSVGEllipse::Make(); }}, in __anonad5ab3fb0602()
243 { "feBlend" , []() -> sk_sp<SkSVGNode> { return SkSVGFeBlend::Make(); }}, in __anonad5ab3fb0702()
244 { "feColorMatrix" , []() -> sk_sp<SkSVGNode> { return SkSVGFeColorMatrix::Make(); }}, in __anonad5ab3fb0802()
245 { "feComposite" , []() -> sk_sp<SkSVGNode> { return SkSVGFeComposite::Make(); }}, in __anonad5ab3fb0902()
246 { "feDiffuseLighting" , []() -> sk_sp<SkSVGNode> { return SkSVGFeDiffuseLighting::Make(); }}, in __anonad5ab3fb0a02()
247 { "feDisplacementMap" , []() -> sk_sp<SkSVGNode> { return SkSVGFeDisplacementMap::Make(); }}, in __anonad5ab3fb0b02()
[all …]
/third_party/skia/src/gpu/ops/
DShadowRRectOp.cpp281 SkPoint center = SkPoint::Make(bounds.centerX(), bounds.centerY()); in fillInCircleVerts()
285 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
287 (*verts)->fOffset = SkPoint::Make(-octOffset, -1); in fillInCircleVerts()
291 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in fillInCircleVerts()
293 (*verts)->fOffset = SkPoint::Make(octOffset, -1); in fillInCircleVerts()
297 (*verts)->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth); in fillInCircleVerts()
299 (*verts)->fOffset = SkPoint::Make(1, -octOffset); in fillInCircleVerts()
303 (*verts)->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth); in fillInCircleVerts()
305 (*verts)->fOffset = SkPoint::Make(1, octOffset); in fillInCircleVerts()
309 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, halfWidth); in fillInCircleVerts()
[all …]
/third_party/flutter/skia/modules/sksg/samples/
DSampleSVGPong.cpp26 static const SkSize kPaddleSize = SkSize::Make(0.03f, 0.1f);
92 SkPoint::Make(kBounds.centerX(), kBounds.centerY()), in onOnceBeforeDraw()
93 SkVector::Make(fRand.nextRangeScalar(kBallSpeedMin, kBallSpeedMax), in onOnceBeforeDraw()
96 SkPoint::Make(fieldBounds.left() - kPaddleSize.width() / 2, in onOnceBeforeDraw()
98 SkVector::Make(0, 0)); in onOnceBeforeDraw()
100 SkPoint::Make(fieldBounds.right() + kPaddleSize.width() / 2, in onOnceBeforeDraw()
102 SkVector::Make(0, 0)); in onOnceBeforeDraw()
118 auto bg_path = sksg::Path::Make(bgPath); in onOnceBeforeDraw()
119 auto bg_paint = sksg::Color::Make(SK_ColorBLACK); in onOnceBeforeDraw()
123 auto ball_paint = sksg::Color::Make(SK_ColorGREEN), in onOnceBeforeDraw()
[all …]
/third_party/skia/modules/sksg/samples/
DSampleSVGPong.cpp28 static const SkSize kPaddleSize = SkSize::Make(0.03f, 0.1f);
94 SkPoint::Make(kBounds.centerX(), kBounds.centerY()), in onOnceBeforeDraw()
95 SkVector::Make(fRand.nextRangeScalar(kBallSpeedMin, kBallSpeedMax), in onOnceBeforeDraw()
98 SkPoint::Make(fieldBounds.left() - kPaddleSize.width() / 2, in onOnceBeforeDraw()
100 SkVector::Make(0, 0)); in onOnceBeforeDraw()
102 SkPoint::Make(fieldBounds.right() + kPaddleSize.width() / 2, in onOnceBeforeDraw()
104 SkVector::Make(0, 0)); in onOnceBeforeDraw()
120 auto bg_path = sksg::Path::Make(bgPath.detach()); in onOnceBeforeDraw()
121 auto bg_paint = sksg::Color::Make(SK_ColorBLACK); in onOnceBeforeDraw()
125 auto ball_paint = sksg::Color::Make(SK_ColorGREEN), in onOnceBeforeDraw()
[all …]

12345678910>>...162