Searched refs:kUnorm10_Unorm2 (Results 1 – 2 of 2) sorted by relevance
41 kUnorm10_Unorm2, ///< 10 bit unorm for Y, U, and V. 2 bit unorm for alpha (if present). enumerator43 kLast = kUnorm10_Unorm2300 case DataType::kUnorm10_Unorm2: return kUnknown_SkColorType; in DefaultColorTypeForDataType()308 case DataType::kUnorm10_Unorm2: return kUnknown_SkColorType; in DefaultColorTypeForDataType()321 case DataType::kUnorm10_Unorm2: return kRGBA_1010102_SkColorType; in DefaultColorTypeForDataType()329 case DataType::kUnorm10_Unorm2: return kRGBA_1010102_SkColorType; in DefaultColorTypeForDataType()
34 if (context.defaultBackendFormat(DefaultColorTypeForDataType(DataType::kUnorm10_Unorm2, n), in SupportedDataTypes()36 this->enableDataType(DataType::kUnorm10_Unorm2, n); in SupportedDataTypes()66 case kRGB_101010x_SkColorType: return {3, DataType::kUnorm10_Unorm2 }; in NumChannelsAndDataType()72 case kRGBA_1010102_SkColorType: return {4, DataType::kUnorm10_Unorm2 }; in NumChannelsAndDataType()186 case DataType::kUnorm10_Unorm2: return kRGBA_1010102_SkColorType; in RecommendedRGBAColorType()