Home
last modified time | relevance | path

Searched refs:kRGB_888x (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/src/gpu/mock/
DGrMockCaps.cpp59 { GrColorType::kRGB_888x, GrBackendFormat::MakeMock(GrColorType::kRGB_888x, in getTestingCombinations()
86 { GrColorType::kRGB_888x, GrBackendFormat::MakeMock(GrColorType::kUnknown, in getTestingCombinations()
88 { GrColorType::kRGB_888x, GrBackendFormat::MakeMock(GrColorType::kUnknown, in getTestingCombinations()
DGrMockCaps.h72 if (ct == GrColorType::kRGB_888x) {
167 return ct == GrColorType::kRGB_888x; // TODO: this may be too restrictive in onAreColorTypeAndFormatCompatible()
/third_party/skia/src/gpu/dawn/
DGrDawnCaps.cpp61 case GrColorType::kRGB_888x: in get_swizzle()
203 { GrColorType::kRGB_888x, GrBackendFormat::MakeDawn(wgpu::TextureFormat::RGBA8Unorm) }, in getTestingCombinations()
204 { GrColorType::kRGB_888x, GrBackendFormat::MakeDawn(wgpu::TextureFormat::BGRA8Unorm) }, in getTestingCombinations()
/third_party/skia/src/gpu/
DGrCaps.cpp355 if (GrColorType::kRGB_888x == read.fColorType) { in supportedReadPixelsColorType()
417 return grCT == (SkCompressionTypeIsOpaque(compression) ? GrColorType::kRGB_888x in areColorTypeAndFormatCompatible()
427 if (colorType == GrColorType::kRGB_888x || colorType == GrColorType::kRGBA_8888) { in getReadSwizzle()
473 return GrColorType::kRGB_888x; in color_type_fallback()
DGrDataUtils.cpp458 case GrColorType::kRGB_888x: *load = SkRasterPipeline::load_8888; in get_load_and_src_swizzle()
529 case GrColorType::kRGB_888x: swizzle = GrSwizzle("rgb1"); in get_dst_swizzle_and_store()
589 GrPixmap temp = GrPixmap::Allocate(dst.info().makeColorType(GrColorType::kRGB_888x)); in GrConvertPixels()
606 GrPixmap temp = GrPixmap::Allocate(src.info().makeColorType(GrColorType::kRGB_888x)); in GrConvertPixels()
DSkGr.cpp298 case GrColorType::kRGB_888x: in dither_range_for_config()
/third_party/skia/include/private/
DGrTypesPriv.h862 kRGB_888x, enumerator
909 case GrColorType::kRGB_888x: return kRGB_888x_SkColorType; in GrColorTypeToSkColorType()
946 case kRGB_888x_SkColorType: return GrColorType::kRGB_888x; in SkColorTypeToGrColorType()
974 case GrColorType::kRGB_888x: return kRGB_SkColorChannelFlags; in GrColorTypeChannelFlags()
1110 case GrColorType::kRGB_888x: in GrGetColorTypeDesc()
1200 case GrColorType::kRGB_888x: return 4; in GrColorTypeBytesPerPixel()
1334 case GrColorType::kRGB_888x: return "kRGB_888x"; in GrColorTypeToStr()
/third_party/skia/src/gpu/vk/
DGrVkCaps.cpp876 constexpr GrColorType ct = GrColorType::kRGB_888x; in initFormatTable()
1013 constexpr GrColorType ct = GrColorType::kRGB_888x; in initFormatTable()
1230 constexpr GrColorType ct = GrColorType::kRGB_888x; in initFormatTable()
1251 constexpr GrColorType ct = GrColorType::kRGB_888x; in initFormatTable()
1324 this->setColorType(GrColorType::kRGB_888x, { VK_FORMAT_R8G8B8_UNORM, in initFormatTable()
1819 return { SkCompressionTypeIsOpaque(compression) ? GrColorType::kRGB_888x in onSupportedReadPixelsColorType()
1982 { GrColorType::kRGB_888x, GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8A8_UNORM) }, in getTestingCombinations()
1983 { GrColorType::kRGB_888x, GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8_UNORM) }, in getTestingCombinations()
1997 { GrColorType::kRGB_888x, GrBackendFormat::MakeVk(VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK)}, in getTestingCombinations()
1998 { GrColorType::kRGB_888x, GrBackendFormat::MakeVk(VK_FORMAT_BC1_RGB_UNORM_BLOCK) }, in getTestingCombinations()
/third_party/skia/tests/
DBackendAllocationTest.cpp766 { GrColorType::kRGB_888x, GR_GL_RGBA8, SkColors::kYellow }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
767 { GrColorType::kRGB_888x, GR_GL_RGB8, SkColors::kCyan }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
920 { GrColorType::kRGB_888x, VK_FORMAT_R8G8B8A8_UNORM, SkColors::kYellow }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
921 { GrColorType::kRGB_888x, VK_FORMAT_R8G8B8_UNORM, SkColors::kCyan }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DTransferPixelsTest.cpp468 GrColorType::kRGB_888x, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
501 GrColorType::kRGB_888x, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DMtlBackendAllocationTest.mm57 { GrColorType::kRGB_888x, MTLPixelFormatRGBA8Unorm, SkColors::kYellow },
/third_party/skia/src/gpu/mtl/
DGrMtlCaps.mm707 // Format: RGBA8Unorm, Surface: kRGB_888x
710 ctInfo.fColorType = GrColorType::kRGB_888x;
940 this->setColorType(GrColorType::kRGB_888x, { MTLPixelFormatRGBA8Unorm });
1111 // Reading back to kRGB_888x doesn't work on Metal/iOS (skbug.com/9839)
1114 return { SkCompressionTypeIsOpaque(compression) ? GrColorType::kRGB_888x
1199 { GrColorType::kRGB_888x, GrBackendFormat::MakeMtl(MTLPixelFormatRGBA8Unorm) },
1201 { GrColorType::kRGB_888x, GrBackendFormat::MakeMtl(MTLPixelFormatETC2_RGB8) },
/third_party/skia/src/gpu/d3d/
DGrD3DCaps.cpp379 constexpr GrColorType ct = GrColorType::kRGB_888x; in initFormatTable()
677 this->setColorType(GrColorType::kRGB_888x, { DXGI_FORMAT_R8G8B8A8_UNORM }); in initFormatTable()
1024 return { SkCompressionTypeIsOpaque(compression) ? GrColorType::kRGB_888x in onSupportedReadPixelsColorType()
1083 {GrColorType::kRGB_888x, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R8G8B8A8_UNORM) }, in getTestingCombinations()
/third_party/skia/src/gpu/gl/
DGrGLCaps.cpp1502 ctInfo.fColorType = GrColorType::kRGB_888x; in initFormatTable()
1514 ioFormat.fColorType = GrColorType::kRGB_888x; in initFormatTable()
2438 ctInfo.fColorType = GrColorType::kRGB_888x; in initFormatTable()
2440 this->setColorTypeFormat(GrColorType::kRGB_888x, GrGLFormat::kRGB8); in initFormatTable()
4471 return {SkCompressionTypeIsOpaque(compression) ? GrColorType::kRGB_888x in onSupportedReadPixelsColorType()
4826 { GrColorType::kRGB_888x, in getTestingCombinations()
4828 { GrColorType::kRGB_888x, in getTestingCombinations()
4830 { GrColorType::kRGB_888x, in getTestingCombinations()
4832 { GrColorType::kRGB_888x, in getTestingCombinations()
4840 { GrColorType::kRGB_888x, in getTestingCombinations()