Home
last modified time | relevance | path

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

/third_party/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");
/third_party/skia/tests/
DExtendedSkColorTypeTests.cpp31 if (channels & kGray_SkColorChannelFlag) { in get_opaque_white_expected_color()
67 { kGray_8_SkColorType, kOpaque_SkAlphaType, kGray_SkColorChannelFlag, true },
DReadWritePixelsGpuTest.cpp302 !(SkColorTypeChannelFlags(srcCT) & kGray_SkColorChannelFlag) && in gpu_read_pixels_test_driver()
303 (SkColorTypeChannelFlags(readCT) & kGray_SkColorChannelFlag); in gpu_read_pixels_test_driver()
/third_party/skia/src/gpu/
DGrYUVABackendTextures.cpp16 case kGray_SkColorChannelFlag : return 1; in num_channels()
DGrYUVATextureProxies.cpp15 case kGray_SkColorChannelFlag : return 1; in num_channels()
DGrCaps.cpp362 channelFlags == kAlpha_SkColorChannelFlag || channelFlags == kGray_SkColorChannelFlag) && in supportedReadPixelsColorType()
/third_party/skia/include/private/
DSkImageInfoPriv.h27 case kGray_8_SkColorType: return kGray_SkColorChannelFlag; in SkColorTypeChannelFlags()
DGrTypesPriv.h979 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()
/third_party/skia/src/gpu/gl/
DGrGLUtil.h47 case GrGLFormat::kLUMINANCE8: return kGray_SkColorChannelFlag; in GrGLFormatChannels()
69 case GrGLFormat::kLUMINANCE16F: return kGray_SkColorChannelFlag; in GrGLFormatChannels()
DGrGLCaps.cpp3374 if (dstChannels == kGray_SkColorChannelFlag || in canCopyTexSubImage()
/third_party/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()