Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/tessellate/
DPathWedgeTessellator.h40 constexpr static int FixedVertexBufferSize(int maxFixedResolveLevel) { in FixedVertexBufferSize() argument
41 return (((1 << maxFixedResolveLevel) + 1) + 1/*fan vertex*/) * sizeof(SkPoint); in FixedVertexBufferSize()
48 constexpr static int FixedIndexBufferSize(int maxFixedResolveLevel) { in FixedIndexBufferSize() argument
49 return (NumCurveTrianglesAtResolveLevel(maxFixedResolveLevel) + 1/*fan triangle*/) * in FixedIndexBufferSize()
DPathCurveTessellator.h38 constexpr static int FixedVertexBufferSize(int maxFixedResolveLevel) { in FixedVertexBufferSize() argument
39 return ((1 << maxFixedResolveLevel) + 1) * sizeof(SkPoint); in FixedVertexBufferSize()
46 constexpr static int FixedIndexBufferSize(int maxFixedResolveLevel) { in FixedIndexBufferSize() argument
47 return NumCurveTrianglesAtResolveLevel(maxFixedResolveLevel) * 3 * sizeof(uint16_t); in FixedIndexBufferSize()