Searched refs:maxFixedResolveLevel (Results 1 – 2 of 2) sorted by relevance
40 constexpr static int FixedVertexBufferSize(int maxFixedResolveLevel) { in FixedVertexBufferSize() argument41 return (((1 << maxFixedResolveLevel) + 1) + 1/*fan vertex*/) * sizeof(SkPoint); in FixedVertexBufferSize()48 constexpr static int FixedIndexBufferSize(int maxFixedResolveLevel) { in FixedIndexBufferSize() argument49 return (NumCurveTrianglesAtResolveLevel(maxFixedResolveLevel) + 1/*fan triangle*/) * in FixedIndexBufferSize()
38 constexpr static int FixedVertexBufferSize(int maxFixedResolveLevel) { in FixedVertexBufferSize() argument39 return ((1 << maxFixedResolveLevel) + 1) * sizeof(SkPoint); in FixedVertexBufferSize()46 constexpr static int FixedIndexBufferSize(int maxFixedResolveLevel) { in FixedIndexBufferSize() argument47 return NumCurveTrianglesAtResolveLevel(maxFixedResolveLevel) * 3 * sizeof(uint16_t); in FixedIndexBufferSize()