Home
last modified time | relevance | path

Searched refs:kGray_8 (Results 1 – 17 of 17) sorted by relevance

/external/skqp/include/private/
DGrTypesPriv.h1305 kGray_8, enumerator
1324 case GrColorType::kGray_8: return kGray_8_SkColorType; in GrColorTypeToSkColorType()
1344 case kGray_8_SkColorType: return GrColorType::kGray_8; in SkColorTypeToGrColorType()
1366 case GrColorType::kGray_8: return kGray_SkColorTypeComponentFlag; in GrColorTypeComponentFlags()
1398 case GrColorType::kGray_8: return 1; in GrColorTypeBytesPerPixel()
1419 return GrColorType::kGray_8; in GrPixelConfigToColorTypeAndEncoding()
1473 return GrColorType::kGray_8; in GrPixelConfigToColorTypeAndEncoding()
1476 return GrColorType::kGray_8; in GrPixelConfigToColorTypeAndEncoding()
1496 case GrColorType::kGray_8: in GrColorTypeToPixelConfig()
/external/skia/src/gpu/mock/
DGrMockCaps.cpp54 { GrColorType::kGray_8, GrBackendFormat::MakeMock(GrColorType::kGray_8, in getTestingCombinations()
/external/skia/include/private/
DGrTypesPriv.h887 kGray_8, enumerator
935 case GrColorType::kGray_8: return kGray_8_SkColorType; in GrColorTypeToSkColorType()
968 case kGray_8_SkColorType: return GrColorType::kGray_8; in SkColorTypeToGrColorType()
1005 case GrColorType::kGray_8: return kGray_SkColorChannelFlag; in GrColorTypeChannelFlags()
1146 case GrColorType::kGray_8: in GrGetColorTypeDesc()
1231 case GrColorType::kGray_8: return 1; in GrColorTypeBytesPerPixel()
1370 case GrColorType::kGray_8: return "kGray_8"; in GrColorTypeToStr()
/external/skia/src/gpu/dawn/
DGrDawnUtil.cpp52 case GrColorType::kGray_8: in GrColorTypeToDawnFormat()
DGrDawnCaps.cpp56 case GrColorType::kGray_8: in get_swizzle()
/external/skia/tests/
DTransferPixelsTest.cpp431 GrColorType::kGray_8, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
464 GrColorType::kGray_8, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DBackendAllocationTest.cpp786 { GrColorType::kGray_8, GR_GL_LUMINANCE8, kGrayCol }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
787 { GrColorType::kGray_8, GR_GL_R8, kGrayCol }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
944 { GrColorType::kGray_8, VK_FORMAT_R8_UNORM, kGrayCol }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DMtlBackendAllocationTest.mm74 { GrColorType::kGray_8, MTLPixelFormatR8Unorm, kGrayCol },
/external/skia/src/gpu/d3d/
DGrD3DCaps.cpp404 constexpr GrColorType ct = GrColorType::kGray_8; in initFormatTable()
676 this->setColorType(GrColorType::kGray_8, { DXGI_FORMAT_R8_UNORM }); in initFormatTable()
1081 {GrColorType::kGray_8, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R8_UNORM) }, in getTestingCombinations()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp1538 ctInfo.fColorType = GrColorType::kGray_8; in initFormatTable()
1541 this->setColorTypeFormat(GrColorType::kGray_8, GrGLFormat::kR8); in initFormatTable()
1551 ioFormat.fColorType = GrColorType::kGray_8; in initFormatTable()
1673 info.fDefaultColorType = GrColorType::kGray_8; in initFormatTable()
1713 ctInfo.fColorType = GrColorType::kGray_8; in initFormatTable()
1715 int idx = static_cast<int>(GrColorType::kGray_8); in initFormatTable()
1717 this->setColorTypeFormat(GrColorType::kGray_8, GrGLFormat::kLUMINANCE8); in initFormatTable()
1728 ioFormat.fColorType = GrColorType::kGray_8; in initFormatTable()
4550 { GrColorType::kGray_8, in getTestingCombinations()
4552 { GrColorType::kGray_8, in getTestingCombinations()
/external/skia/src/gpu/
DGrDataUtils.cpp389 case GrColorType::kGray_8: *load = SkRasterPipeline::load_a8; in get_load_and_src_swizzle()
484 case GrColorType::kGray_8: *lumMode = LumMode::kToAlpha; in get_dst_swizzle_and_store()
DGrSurfaceFillContext.cpp46 case GrColorType::kGray_8: in color_type_fallback()
DSkGr.cpp290 case GrColorType::kGray_8: in dither_range_for_config()
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm596 // Format: R8Unorm, Surface: kGray_8
599 ctInfo.fColorType = GrColorType::kGray_8;
907 this->setColorType(GrColorType::kGray_8, { MTLPixelFormatR8Unorm });
1164 { GrColorType::kGray_8, GrBackendFormat::MakeMtl(MTLPixelFormatR8Unorm) },
/external/skia/src/gpu/vk/
DGrVkCaps.cpp895 constexpr GrColorType ct = GrColorType::kGray_8; in initFormatTable()
1291 this->setColorType(GrColorType::kGray_8, { VK_FORMAT_R8_UNORM }); in initFormatTable()
1906 { GrColorType::kGray_8, GrBackendFormat::MakeVk(VK_FORMAT_R8_UNORM) }, in getTestingCombinations()
/external/skqp/tests/
DPromiseImageTest.cpp701 nullptr, kWidth, kHeight, GrColorType::kGray_8, false, GrMipMapped::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/gpu/
DGrContext.cpp376 case GrColorType::kGray_8: return false; in valid_premul_color_type()