Searched refs:kGray_SkColorChannelFlag (Results 1 – 11 of 11) sorted by relevance
241 kGray_SkColorChannelFlag = 0x10, enumerator243 kGrayAlpha_SkColorChannelFlags = kGray_SkColorChannelFlag | kAlpha_SkColorChannelFlag,248 static_assert(0 == (kGray_SkColorChannelFlag & kRGBA_SkColorChannelFlags), "bitfield conflict");
31 if (channels & kGray_SkColorChannelFlag) { in get_opaque_white_expected_color()67 { kGray_8_SkColorType, kOpaque_SkAlphaType, kGray_SkColorChannelFlag, true },
302 !(SkColorTypeChannelFlags(srcCT) & kGray_SkColorChannelFlag) && in gpu_read_pixels_test_driver()303 (SkColorTypeChannelFlags(readCT) & kGray_SkColorChannelFlag); in gpu_read_pixels_test_driver()
16 case kGray_SkColorChannelFlag : return 1; in num_channels()
15 case kGray_SkColorChannelFlag : return 1; in num_channels()
362 channelFlags == kAlpha_SkColorChannelFlag || channelFlags == kGray_SkColorChannelFlag) && in supportedReadPixelsColorType()
27 case kGray_8_SkColorType: return kGray_SkColorChannelFlag; in SkColorTypeChannelFlags()
979 case GrColorType::kGray_8: return kGray_SkColorChannelFlag; in GrColorTypeChannelFlags()987 case GrColorType::kGray_8xxx: return kGray_SkColorChannelFlag; in GrColorTypeChannelFlags()996 case GrColorType::kGray_F16: return kGray_SkColorChannelFlag; in GrColorTypeChannelFlags()
47 case GrGLFormat::kLUMINANCE8: return kGray_SkColorChannelFlag; in GrGLFormatChannels()69 case GrGLFormat::kLUMINANCE16F: return kGray_SkColorChannelFlag; in GrGLFormatChannels()
3374 if (dstChannels == kGray_SkColorChannelFlag || in canCopyTexSubImage()
146 case kGray_SkColorChannelFlag: // For gray returning any of R, G, or B for index 0 is ok. in channel_index_to_channel()