Searched refs:GrSizeDivRoundUp (Results 1 – 4 of 4) sorted by relevance
146 static inline constexpr size_t GrSizeDivRoundUp(size_t x, size_t y) { return (x + (y - 1)) / y; } in GrSizeDivRoundUp() function155 return GrSizeDivRoundUp(x, alignment) * alignment; in GrSizeAlignUp()
587 int cubicStrokesIdx = GrSizeDivRoundUp(endLinearStrokesIdx * sizeof(LinearStrokeInstance), in prepareToDraw()596 int trianglesIdx = GrSizeDivRoundUp(cubicStrokesIdx * sizeof(CubicStrokeInstance), in prepareToDraw()605 GrSizeDivRoundUp(endTrianglesIdx * sizeof(TriangleInstance), sizeof(ConicInstance)); in prepareToDraw()
342 GrSizeDivRoundUp(triEndIdx * sizeof(TriPointInstance), sizeof(QuadPointInstance)); in prepareToDraw()
37 static inline constexpr size_t GrSizeDivRoundUp(size_t x, size_t y) { return (x + (y - 1)) / y; } in GrSizeDivRoundUp() function