Searched refs:sk_align (Results 1 – 2 of 2) sorted by relevance
22 template <size_t N> static size_t sk_align(size_t s) { in sk_align() function32 size_t vertex = sk_align<alignof(char)> (blobStart + sizeof(GrTextBlob) * 1); in Make()33 size_t glyphs = sk_align<alignof(GrGlyph*)> (vertex + sizeof(char) * verticesCount); in Make()34 size_t runs = sk_align<alignof(GrTextBlob::Run)>(glyphs + sizeof(GrGlyph*) * glyphCount); in Make()
22 template <size_t N> static size_t sk_align(size_t s) { in sk_align() function35 size_t vertex = sk_align<alignof(char)> (blobStart + sizeof(GrTextBlob) * 1); in Make()36 size_t glyphs = sk_align<alignof(GrGlyph*)> (vertex + sizeof(char) * verticesCount); in Make()37 size_t runs = sk_align<alignof(GrTextBlob::Run)>(glyphs + sizeof(GrGlyph*) * glyphCount); in Make()