Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrDataUtils.cpp414 enum class LumMode { enum
421 LumMode* lumMode, bool* isNormalized, bool* isSRGB) { in get_dst_swizzle_and_store()
425 *lumMode = LumMode::kNone; in get_dst_swizzle_and_store()
481 case GrColorType::kGray_F16: *lumMode = LumMode::kToAlpha; in get_dst_swizzle_and_store()
484 case GrColorType::kGray_8: *lumMode = LumMode::kToAlpha; in get_dst_swizzle_and_store()
487 case GrColorType::kGrayAlpha_88: *lumMode = LumMode::kToRGB; in get_dst_swizzle_and_store()
491 case GrColorType::kGray_8xxx: *lumMode = LumMode::kToRGB; in get_dst_swizzle_and_store()
599 LumMode lumMode; in GrConvertPixels()
636 bool hasConversion = alphaOrCSConversion || clampGamut || lumMode != LumMode::kNone; in GrConvertPixels()
660 case LumMode::kNone: in GrConvertPixels()
[all …]