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