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 },
299 !(SkColorTypeChannelFlags(srcCT) & kGray_SkColorChannelFlag) && in gpu_read_pixels_test_driver()300 (SkColorTypeChannelFlags(readCT) & kGray_SkColorChannelFlag); in gpu_read_pixels_test_driver()
27 case kGray_8_SkColorType: return kGray_SkColorChannelFlag; in SkColorTypeChannelFlags()
1005 case GrColorType::kGray_8: return kGray_SkColorChannelFlag; in GrColorTypeChannelFlags()1013 case GrColorType::kGray_8xxx: return kGray_SkColorChannelFlag; in GrColorTypeChannelFlags()1022 case GrColorType::kGray_F16: return kGray_SkColorChannelFlag; in GrColorTypeChannelFlags()
16 case kGray_SkColorChannelFlag : return 1; in num_channels()
15 case kGray_SkColorChannelFlag : return 1; in num_channels()
349 channelFlags == kAlpha_SkColorChannelFlag || channelFlags == kGray_SkColorChannelFlag) && in supportedReadPixelsColorType()
47 case GrGLFormat::kLUMINANCE8: return kGray_SkColorChannelFlag; in GrGLFormatChannels()66 case GrGLFormat::kLUMINANCE16F: return kGray_SkColorChannelFlag; in GrGLFormatChannels()
3235 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()