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 | 84 uint16_t numPts = (uint16_t) in add_quad() local 90 for (uint16_t i = 0; i < numPts; ++i) { in add_quad() 363 uint16_t numPts = (uint16_t) GrPathUtils::generateCubicPoints( in createGeom() local 368 for (uint16_t i = 0; i < numPts; ++i) { in createGeom()
|
D | GrAALinearizingConvexPathRenderer.cpp | 79 for (int i = 0; i < tess.numPts(); ++i) { in extract_verts() 85 for (int i = 0; i < tess.numPts(); ++i) { in extract_verts() 260 int currentVertices = tess.numPts(); in onPrepareDraws()
|
D | GrAAConvexPathRenderer.cpp | 684 for (int i = 0; i < tess.numPts(); ++i) { in extract_verts() 690 for (int i = 0; i < tess.numPts(); ++i) { in extract_verts() 797 void* verts = target->makeVertexSpace(vertexStride, tess.numPts(), &vertexBuffer, in prepareLinesOnlyDraws() 819 tess.numPts(), tess.numIndices()); in prepareLinesOnlyDraws()
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 2771 size_t numPts = paint.countText(text, byteLength); local 2777 fPos = new SkPoint[numPts]; 2778 memcpy(fPos, pos, numPts * sizeof(SkPoint)); 2824 size_t numPts = paint.countText(text, byteLength); local 2830 fXpos = new SkScalar[numPts]; 2831 memcpy(fXpos, xpos, numPts * sizeof(SkScalar));
|