Home
last modified time | relevance | path

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

/external/skqp/include/private/
DGrTypesPriv.h131 static const int sBytesPerPixel[] = {1, 2, 4}; in GrMaskFormatBytesPerPixel() local
132 static_assert(SK_ARRAY_COUNT(sBytesPerPixel) == kMaskFormatCount, "array_size_mismatch"); in GrMaskFormatBytesPerPixel()
137 return sBytesPerPixel[(int)format]; in GrMaskFormatBytesPerPixel()