Searched refs:sBytesPerPixel (Results 1 – 1 of 1) sorted by relevance
271 static const int sBytesPerPixel[] = { 1, 2, 4 }; in GrMaskFormatBytesPerPixel() local272 static_assert(SK_ARRAY_COUNT(sBytesPerPixel) == kMaskFormatCount, "array_size_mismatch"); in GrMaskFormatBytesPerPixel()277 return sBytesPerPixel[(int) format]; in GrMaskFormatBytesPerPixel()