Home
last modified time | relevance | path

Searched refs:fGeometry (Results 1 – 11 of 11) sorted by relevance

/external/skia/modules/sksg/src/
DSkSGDraw.cpp20 : fGeometry(std::move(geometry)) in Draw()
22 this->observeInval(fGeometry); in Draw()
27 this->unobserveInval(fGeometry); in ~Draw()
41 fGeometry->draw(canvas, paint); in onRender()
52 if (paint.getStyle() == SkPaint::Style::kFill_Style && fGeometry->contains(p)) { in onNodeAt()
57 if (!paint.getFillPath(fGeometry->asPath(), &stroke_path)) { in onNodeAt()
67 auto bounds = fGeometry->revalidate(ic, ctm); in onRevalidate()
/external/skqp/bench/
DGrCCFillGeometryBench.cpp51 fGeometry.beginContour(fPoints[0]); in onDraw()
53 fGeometry.cubicTo(fPoints); in onDraw()
54 fGeometry.lineTo(fPoints+3); in onDraw()
56 fGeometry.endContour(); in onDraw()
57 fGeometry.reset(); in onDraw()
64 GrCCFillGeometry fGeometry{4*100*kNumBaseLoops, 2*100*kNumBaseLoops}; member in GrCCGeometryBench
/external/skqp/modules/sksg/src/
DSkSGDraw.cpp18 : fGeometry(std::move(geometry)) in Draw()
20 this->observeInval(fGeometry); in Draw()
25 this->unobserveInval(fGeometry); in ~Draw()
39 fGeometry->draw(canvas, paint); in onRender()
46 auto bounds = fGeometry->revalidate(ic, ctm); in onRevalidate()
/external/skqp/src/gpu/ccpr/
DGrCCFiller.cpp24 : fGeometry(numSkPoints, numSkVerbs, numConicWeights) in GrCCFiller()
41 int currPathPointsIdx = fGeometry.points().count(); in parseDeviceSpaceFill()
42 int currPathVerbsIdx = fGeometry.verbs().count(); in parseDeviceSpaceFill()
45 fGeometry.beginPath(); in parseDeviceSpaceFill()
56 currPathPrimitiveCounts += fGeometry.endContour(); in parseDeviceSpaceFill()
58 fGeometry.beginContour(deviceSpacePts[ptsIdx]); in parseDeviceSpaceFill()
64 currPathPrimitiveCounts += fGeometry.endContour(); in parseDeviceSpaceFill()
69 fGeometry.lineTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
73 fGeometry.quadraticTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
77 fGeometry.cubicTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
[all …]
DGrCCStroker.cpp309 fGeometry.beginPath(stroke, strokeDevWidth, currStrokeEndIndices); in parseDeviceSpaceStroke()
322 fGeometry.capContourAndExit(); in parseDeviceSpaceStroke()
324 fGeometry.moveTo(deviceSpacePts[devPtsIdx]); in parseDeviceSpaceStroke()
329 fGeometry.closeContour(); in parseDeviceSpaceStroke()
333 fGeometry.lineTo(P[1]); in parseDeviceSpaceStroke()
338 fGeometry.quadraticTo(P); in parseDeviceSpaceStroke()
343 fGeometry.cubicTo(P); in parseDeviceSpaceStroke()
358 fGeometry.capContourAndExit(); in parseDeviceSpaceStroke()
609 const SkTArray<GrCCStrokeGeometry::Parameter, true>& params = fGeometry.params(); in prepareToDraw()
610 const SkTArray<SkPoint, true>& pts = fGeometry.points(); in prepareToDraw()
[all …]
DGrCCStroker.h33 : fGeometry(numSkPoints, numSkVerbs), fPathInfos(numPaths) {} in GrCCStroker()
108 GrCCStrokeGeometry fGeometry; variable
DGrCCFiller.h102 GrCCFillGeometry fGeometry; variable
/external/skia/tools/viewer/
DSkSLSlide.cpp240 ImGui::RadioButton("Fill", &fGeometry, kFill); ImGui::SameLine(); in draw()
241 ImGui::RadioButton("Circle", &fGeometry, kCircle); ImGui::SameLine(); in draw()
242 ImGui::RadioButton("RoundRect", &fGeometry, kRoundRect); ImGui::SameLine(); in draw()
243 ImGui::RadioButton("Capsule", &fGeometry, kCapsule); ImGui::SameLine(); in draw()
244 ImGui::RadioButton("Text", &fGeometry, kText); in draw()
256 switch (fGeometry) { in draw()
DSkSLSlide.h51 int fGeometry = kFill; variable
/external/skqp/modules/sksg/include/
DSkSGDraw.h40 sk_sp<GeometryNode> fGeometry;
/external/skia/modules/sksg/include/
DSkSGDraw.h40 sk_sp<GeometryNode> fGeometry;