Home
last modified time | relevance | path

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

/external/skia/src/gpu/mock/
DGrMockCaps.cpp44 { GrColorType::kRGB_888x, GrBackendFormat::MakeMock(GrColorType::kRGB_888x, in getTestingCombinations()
71 { GrColorType::kRGB_888x, GrBackendFormat::MakeMock(GrColorType::kUnknown, in getTestingCombinations()
73 { GrColorType::kRGB_888x, GrBackendFormat::MakeMock(GrColorType::kUnknown, in getTestingCombinations()
DGrMockCaps.h73 if (ct == GrColorType::kRGB_888x) {
180 return ct == GrColorType::kRGB_888x; // TODO: this may be too restrictive in onAreColorTypeAndFormatCompatible()
/external/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()
/external/skqp/include/private/
DGrTypesPriv.h1301 kRGB_888x, enumerator
1320 case GrColorType::kRGB_888x: return kRGB_888x_SkColorType; in GrColorTypeToSkColorType()
1342 case kRGB_888x_SkColorType: return GrColorType::kRGB_888x; in SkColorTypeToGrColorType()
1361 case GrColorType::kRGB_888x: return kRGB_SkColorTypeComponentFlags; in GrColorTypeComponentFlags()
1394 case GrColorType::kRGB_888x: return 4; in GrColorTypeBytesPerPixel()
1431 return GrColorType::kRGB_888x; in GrPixelConfigToColorTypeAndEncoding()
1512 case GrColorType::kRGB_888x: in GrColorTypeToPixelConfig()
/external/skia/include/private/
DGrTypesPriv.h882 kRGB_888x, enumerator
930 case GrColorType::kRGB_888x: return kRGB_888x_SkColorType; in GrColorTypeToSkColorType()
966 case kRGB_888x_SkColorType: return GrColorType::kRGB_888x; in SkColorTypeToGrColorType()
1000 case GrColorType::kRGB_888x: return kRGB_SkColorChannelFlags; in GrColorTypeChannelFlags()
1136 case GrColorType::kRGB_888x: in GrGetColorTypeDesc()
1226 case GrColorType::kRGB_888x: return 4; in GrColorTypeBytesPerPixel()
1365 case GrColorType::kRGB_888x: return "kRGB_888x"; in GrColorTypeToStr()
/external/skia/src/gpu/
DGrCaps.cpp342 if (GrColorType::kRGB_888x == read.fColorType) { in supportedReadPixelsColorType()
404 return grCT == (SkCompressionTypeIsOpaque(compression) ? GrColorType::kRGB_888x in areColorTypeAndFormatCompatible()
414 if (colorType == GrColorType::kRGB_888x || colorType == GrColorType::kRGBA_8888) { in getReadSwizzle()
DGrDataUtils.cpp398 case GrColorType::kRGB_888x: *load = SkRasterPipeline::load_8888; in get_load_and_src_swizzle()
469 case GrColorType::kRGB_888x: swizzle = GrSwizzle("rgb1"); in get_dst_swizzle_and_store()
529 GrPixmap temp = GrPixmap::Allocate(dst.info().makeColorType(GrColorType::kRGB_888x)); in GrConvertPixels()
546 GrPixmap temp = GrPixmap::Allocate(src.info().makeColorType(GrColorType::kRGB_888x)); in GrConvertPixels()
DGrSurfaceFillContext.cpp47 return GrColorType::kRGB_888x; in color_type_fallback()
DSkGr.cpp296 case GrColorType::kRGB_888x: in dither_range_for_config()
/external/skia/src/gpu/vk/
DGrVkCaps.cpp864 constexpr GrColorType ct = GrColorType::kRGB_888x; in initFormatTable()
1001 constexpr GrColorType ct = GrColorType::kRGB_888x; in initFormatTable()
1218 constexpr GrColorType ct = GrColorType::kRGB_888x; in initFormatTable()
1239 constexpr GrColorType ct = GrColorType::kRGB_888x; in initFormatTable()
1285 this->setColorType(GrColorType::kRGB_888x, { VK_FORMAT_R8G8B8_UNORM, in initFormatTable()
1733 return { SkCompressionTypeIsOpaque(compression) ? GrColorType::kRGB_888x in onSupportedReadPixelsColorType()
1900 { GrColorType::kRGB_888x, GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8A8_UNORM) }, in getTestingCombinations()
1901 { GrColorType::kRGB_888x, GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8_UNORM) }, in getTestingCombinations()
1915 { GrColorType::kRGB_888x, GrBackendFormat::MakeVk(VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK)}, in getTestingCombinations()
1916 { GrColorType::kRGB_888x, GrBackendFormat::MakeVk(VK_FORMAT_BC1_RGB_UNORM_BLOCK) }, in getTestingCombinations()
/external/skia/tests/
DBackendAllocationTest.cpp772 { GrColorType::kRGB_888x, GR_GL_RGBA8, SkColors::kYellow }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
773 { GrColorType::kRGB_888x, GR_GL_RGB8, SkColors::kCyan }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
925 { GrColorType::kRGB_888x, VK_FORMAT_R8G8B8A8_UNORM, SkColors::kYellow }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
926 { GrColorType::kRGB_888x, VK_FORMAT_R8G8B8_UNORM, SkColors::kCyan }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DTransferPixelsTest.cpp426 GrColorType::kRGB_888x, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
459 GrColorType::kRGB_888x, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DMtlBackendAllocationTest.mm57 { GrColorType::kRGB_888x, MTLPixelFormatRGBA8Unorm, SkColors::kYellow },
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm665 // Format: RGBA8Unorm, Surface: kRGB_888x
668 ctInfo.fColorType = GrColorType::kRGB_888x;
898 this->setColorType(GrColorType::kRGB_888x, { MTLPixelFormatRGBA8Unorm });
1062 // Reading back to kRGB_888x doesn't work on Metal/iOS (skbug.com/9839)
1065 return { SkCompressionTypeIsOpaque(compression) ? GrColorType::kRGB_888x
1152 { GrColorType::kRGB_888x, GrBackendFormat::MakeMtl(MTLPixelFormatRGBA8Unorm) },
1154 { GrColorType::kRGB_888x, GrBackendFormat::MakeMtl(MTLPixelFormatETC2_RGB8) },
/external/skia/src/gpu/d3d/
DGrD3DCaps.cpp374 constexpr GrColorType ct = GrColorType::kRGB_888x; in initFormatTable()
672 this->setColorType(GrColorType::kRGB_888x, { DXGI_FORMAT_R8G8B8A8_UNORM }); in initFormatTable()
1018 return { SkCompressionTypeIsOpaque(compression) ? GrColorType::kRGB_888x in onSupportedReadPixelsColorType()
1077 {GrColorType::kRGB_888x, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R8G8B8A8_UNORM) }, in getTestingCombinations()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp1444 ctInfo.fColorType = GrColorType::kRGB_888x; in initFormatTable()
1456 ioFormat.fColorType = GrColorType::kRGB_888x; in initFormatTable()
2368 ctInfo.fColorType = GrColorType::kRGB_888x; in initFormatTable()
2370 this->setColorTypeFormat(GrColorType::kRGB_888x, GrGLFormat::kRGB8); in initFormatTable()
4207 return { SkCompressionTypeIsOpaque(compression) ? GrColorType::kRGB_888x in onSupportedReadPixelsColorType()
4534 { GrColorType::kRGB_888x, in getTestingCombinations()
4536 { GrColorType::kRGB_888x, in getTestingCombinations()
4538 { GrColorType::kRGB_888x, in getTestingCombinations()
4540 { GrColorType::kRGB_888x, in getTestingCombinations()
4542 { GrColorType::kRGB_888x, in getTestingCombinations()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp617 if (dataColorType == GrColorType::kRGB_888x) { in uploadTexDataOptimal()
687 if (dataColorType == GrColorType::kRGB_888x) { in uploadTexDataOptimal()
782 SkASSERT(dataColorType == GrColorType::kRGB_888x); in uploadTexDataOptimal()
2080 if (dstColorType == GrColorType::kRGB_888x) { in onReadPixels()
/external/skqp/src/gpu/
DGrContext.cpp372 case GrColorType::kRGB_888x: return false; in valid_premul_color_type()