Searched refs:kRed_SkColorChannelFlag (Results 1 – 11 of 11) sorted by relevance
38 case DXGI_FORMAT_R8_UNORM: return kRed_SkColorChannelFlag; in GrDxgiFormatChannels()42 case DXGI_FORMAT_R16_FLOAT: return kRed_SkColorChannelFlag; in GrDxgiFormatChannels()48 case DXGI_FORMAT_R16_UNORM: return kRed_SkColorChannelFlag; in GrDxgiFormatChannels()
51 case VK_FORMAT_R8_UNORM: return kRed_SkColorChannelFlag; in GrVkFormatChannels()55 case VK_FORMAT_R16_SFLOAT: return kRed_SkColorChannelFlag; in GrVkFormatChannels()66 case VK_FORMAT_R16_UNORM: return kRed_SkColorChannelFlag; in GrVkFormatChannels()
28 case wgpu::TextureFormat::R8Unorm: return kRed_SkColorChannelFlag; in GrDawnFormatChannels()
237 kRed_SkColorChannelFlag = 1 << static_cast<uint32_t>(SkColorChannel::kR), enumerator244 kRG_SkColorChannelFlags = kRed_SkColorChannelFlag | kGreen_SkColorChannelFlag,
45 case GrGLFormat::kR8: return kRed_SkColorChannelFlag; in GrGLFormatChannels()52 case GrGLFormat::kR16F: return kRed_SkColorChannelFlag; in GrGLFormatChannels()62 case GrGLFormat::kR16: return kRed_SkColorChannelFlag; in GrGLFormatChannels()
14 case kRed_SkColorChannelFlag : return 1; in num_channels()
13 case kRed_SkColorChannelFlag : return 1; in num_channels()
268 case MTLPixelFormatR8Unorm: return kRed_SkColorChannelFlag;275 case MTLPixelFormatR16Float: return kRed_SkColorChannelFlag;285 case MTLPixelFormatR16Unorm: return kRed_SkColorChannelFlag;
1019 case GrColorType::kR_8: return kRed_SkColorChannelFlag; in GrColorTypeChannelFlags()1020 case GrColorType::kR_16: return kRed_SkColorChannelFlag; in GrColorTypeChannelFlags()1021 case GrColorType::kR_F16: return kRed_SkColorChannelFlag; in GrColorTypeChannelFlags()
147 case kRed_SkColorChannelFlag: in channel_index_to_channel()
36 if (!(channels & kRed_SkColorChannelFlag)) { in get_opaque_white_expected_color()