Searched refs:numPts (Results 1 – 7 of 7) sorted by relevance
/external/skia/gm/ |
D | convex_all_line_paths.cpp | 178 int numPts; in GetPath() local 182 numPts = (int)ConvexLineOnlyData::gSizes[index]; in GetPath() 189 numPts = 3; in GetPath() 192 numPts = 4; in GetPath() 195 numPts = 5; in GetPath() 198 numPts = 5; in GetPath() 202 numPts = 6; in GetPath() 205 numPts = 8; in GetPath() 208 numPts = 8; in GetPath() 212 numPts = 20; in GetPath() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrAAConvexTessellator.cpp | 186 if (previousRing.numPts() < 3) { in createInsetRings() 209 bool done = currentRing->numPts() >= 3; in createInsetRings() 249 fNorms.setCount(fNorms.count() + outerStrokeAndAARing.numPts()); in tessellate() 250 for (int i = 0; i < outerStrokeAndAARing.numPts(); ++i) { in tessellate() 285 if (SkStrokeRec::kStroke_Style == fStyle && fInitialRing.numPts() > 2) { in tessellate() 389 if (this->numPts() < 2) { in extractFromPath() 394 if (duplicate_pt(fPts[this->numPts()-1], fPts[0])) { in extractFromPath() 400 if (this->numPts() >= 3) { in extractFromPath() 413 if (this->numPts() >= 3 && abs_dist_from_line(fPts[0], fNorms.top(), fPts[1]) < kClose) { in extractFromPath() 423 if (this->numPts() >= 3) { in extractFromPath() [all …]
|
D | GrAAConvexTessellator.h | 51 int numPts() const { return fPts.count(); } in numPts() function 71 void setReserve(int numPts) { fPts.setReserve(numPts); } in setReserve() argument 74 int numPts() const { return fPts.count(); } in numPts() function 131 void setReserve(int numPts) { fPts.setReserve(numPts); } in setReserve() argument 134 int numPts() const { return fPts.count(); } in numPts() function
|
D | GrDefaultPathRenderer.cpp | 108 uint16_t numPts = (uint16_t)GrPathUtils::generateQuadraticPoints( in addQuad() local 112 for (uint16_t i = 0; i < numPts; ++i) { in addQuad() 133 uint16_t numPts = (uint16_t) GrPathUtils::generateCubicPoints( in addCubic() local 137 for (uint16_t i = 0; i < numPts; ++i) { in addCubic()
|
D | GrAALinearizingConvexPathRenderer.cpp | 82 for (int i = 0; i < tess.numPts(); ++i) { in extract_verts() 88 for (int i = 0; i < tess.numPts(); ++i) { in extract_verts() 270 int currentVertices = tess.numPts(); in onPrepareDraws()
|
D | GrAAConvexPathRenderer.cpp | 683 for (int i = 0; i < tess.numPts(); ++i) { in extract_lines_only_verts() 689 for (int i = 0; i < tess.numPts(); ++i) { in extract_lines_only_verts() 798 void* verts = target->makeVertexSpace(vertexStride, tess.numPts(), &vertexBuffer, in prepareLinesOnlyDraws() 818 mesh.setIndexed(indexBuffer, tess.numIndices(), firstIndex, 0, tess.numPts() - 1); in prepareLinesOnlyDraws()
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 2804 size_t numPts = paint.countText(text, byteLength); in SkDrawPosTextCommand() local 2810 fPos = new SkPoint[numPts]; in SkDrawPosTextCommand() 2811 memcpy(fPos, pos, numPts * sizeof(SkPoint)); in SkDrawPosTextCommand() 2857 size_t numPts = paint.countText(text, byteLength); in SkDrawPosTextHCommand() local 2863 fXpos = new SkScalar[numPts]; in SkDrawPosTextHCommand() 2864 memcpy(fXpos, xpos, numPts * sizeof(SkScalar)); in SkDrawPosTextHCommand()
|