Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkColor.h241 kGray_SkColorChannelFlag = 0x10, enumerator
243 kGrayAlpha_SkColorChannelFlags = kGray_SkColorChannelFlag | kAlpha_SkColorChannelFlag,
248 static_assert(0 == (kGray_SkColorChannelFlag & kRGBA_SkColorChannelFlags), "bitfield conflict");
/external/skia/tests/
DExtendedSkColorTypeTests.cpp31 if (channels & kGray_SkColorChannelFlag) { in get_opaque_white_expected_color()
67 { kGray_8_SkColorType, kOpaque_SkAlphaType, kGray_SkColorChannelFlag, true },
DReadWritePixelsGpuTest.cpp299 !(SkColorTypeChannelFlags(srcCT) & kGray_SkColorChannelFlag) && in gpu_read_pixels_test_driver()
300 (SkColorTypeChannelFlags(readCT) & kGray_SkColorChannelFlag); in gpu_read_pixels_test_driver()
/external/skia/include/private/
DSkImageInfoPriv.h27 case kGray_8_SkColorType: return kGray_SkColorChannelFlag; in SkColorTypeChannelFlags()
DGrTypesPriv.h1005 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()
/external/skia/src/gpu/
DGrYUVABackendTextures.cpp16 case kGray_SkColorChannelFlag : return 1; in num_channels()
DGrYUVATextureProxies.cpp15 case kGray_SkColorChannelFlag : return 1; in num_channels()
DGrCaps.cpp349 channelFlags == kAlpha_SkColorChannelFlag || channelFlags == kGray_SkColorChannelFlag) && in supportedReadPixelsColorType()
/external/skia/src/gpu/gl/
DGrGLUtil.h47 case GrGLFormat::kLUMINANCE8: return kGray_SkColorChannelFlag; in GrGLFormatChannels()
66 case GrGLFormat::kLUMINANCE16F: return kGray_SkColorChannelFlag; in GrGLFormatChannels()
DGrGLCaps.cpp3235 if (dstChannels == kGray_SkColorChannelFlag || in canCopyTexSubImage()
/external/skia/src/core/
DSkYUVAInfo.cpp146 case kGray_SkColorChannelFlag: // For gray returning any of R, G, or B for index 0 is ok. in channel_index_to_channel()