Home
last modified time | relevance | path

Searched refs:maxEdgeCount (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkEdgeBuilder.cpp261 size_t maxEdgeCount = path.countPoints(); in buildPoly() local
266 maxEdgeCount *= SkLineClipper::kMaxClippedLineSegments; in buildPoly()
274 edge = (char*)fAlloc.makeArrayDefault<SkEdge>(maxEdgeCount); in buildPoly()
278 edge = (char*)fAlloc.makeArrayDefault<SkAnalyticEdge>(maxEdgeCount); in buildPoly()
282 edge = (char*)fAlloc.makeArrayDefault<SkLine>(maxEdgeCount); in buildPoly()
287 char** edgePtr = fAlloc.makeArrayDefault<char*>(maxEdgeCount); in buildPoly()
333 SkASSERT((size_t)(edge - edgeStart) <= maxEdgeCount * edgeSize); in buildPoly()
334 SkASSERT((size_t)(edgePtr - (char**)fEdgeList) <= maxEdgeCount); in buildPoly()
/external/skqp/src/core/
DSkEdgeBuilder.cpp261 size_t maxEdgeCount = path.countPoints(); in buildPoly() local
266 maxEdgeCount *= SkLineClipper::kMaxClippedLineSegments; in buildPoly()
274 edge = (char*)fAlloc.makeArrayDefault<SkEdge>(maxEdgeCount); in buildPoly()
278 edge = (char*)fAlloc.makeArrayDefault<SkAnalyticEdge>(maxEdgeCount); in buildPoly()
282 edge = (char*)fAlloc.makeArrayDefault<SkLine>(maxEdgeCount); in buildPoly()
287 char** edgePtr = fAlloc.makeArrayDefault<char*>(maxEdgeCount); in buildPoly()
333 SkASSERT((size_t)(edge - edgeStart) <= maxEdgeCount * edgeSize); in buildPoly()
334 SkASSERT((size_t)(edgePtr - (char**)fEdgeList) <= maxEdgeCount); in buildPoly()