Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/dawn/
DGrDawnUtil.cpp48 case GrColorType::kBGRA_8888: in GrColorTypeToDawnFormat()
66 *colorType = GrColorType::kBGRA_8888; in GrDawnFormatToGrColorType()
DGrDawnCaps.cpp205 { GrColorType::kBGRA_8888, GrBackendFormat::MakeDawn(wgpu::TextureFormat::BGRA8Unorm) }, in getTestingCombinations()
206 { GrColorType::kBGRA_8888, GrBackendFormat::MakeDawn(wgpu::TextureFormat::RGBA8Unorm) }, in getTestingCombinations()
/third_party/skia/src/gpu/mock/
DGrMockCaps.cpp63 { GrColorType::kBGRA_8888, GrBackendFormat::MakeMock(GrColorType::kBGRA_8888, in getTestingCombinations()
/third_party/skia/include/private/
DGrTypesPriv.h864 kBGRA_8888, enumerator
911 case GrColorType::kBGRA_8888: return kBGRA_8888_SkColorType; in GrColorTypeToSkColorType()
947 case kBGRA_8888_SkColorType: return GrColorType::kBGRA_8888; in SkColorTypeToGrColorType()
976 case GrColorType::kBGRA_8888: return kRGBA_SkColorChannelFlags; in GrColorTypeChannelFlags()
1114 case GrColorType::kBGRA_8888: in GrGetColorTypeDesc()
1202 case GrColorType::kBGRA_8888: return 4; in GrColorTypeBytesPerPixel()
1336 case GrColorType::kBGRA_8888: return "kBGRA_8888"; in GrColorTypeToStr()
/third_party/skia/tests/
DBackendAllocationTest.cpp166 return format.asMockColorType() == GrColorType::kBGRA_8888; in isBGRA8()
769 { GrColorType::kBGRA_8888, GR_GL_RGBA8, SkColors::kBlue }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
770 { GrColorType::kBGRA_8888, GR_GL_BGRA8, SkColors::kBlue }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
810 if (GrColorType::kBGRA_8888 == combo.fColorType || in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
923 { GrColorType::kBGRA_8888, VK_FORMAT_B8G8R8A8_UNORM, SkColors::kBlue }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DTransferPixelsTest.cpp470 GrColorType::kBGRA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
503 GrColorType::kBGRA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DMtlBackendAllocationTest.mm59 { GrColorType::kBGRA_8888, MTLPixelFormatBGRA8Unorm, SkColors::kBlue },
/third_party/skia/include/gpu/mock/
DGrMockTypes.h106 fConfigOptions[(int)GrColorType::kBGRA_8888] = fConfigOptions[(int)GrColorType::kRGBA_8888]; in GrMockOptions()
/third_party/skia/src/gpu/
DSurfaceContext.cpp124 GrColorType::kBGRA_8888 == dst.colorType()) && in readPixels()
127 srcColorType == GrColorType::kBGRA_8888) && in readPixels()
162 if (dst.colorType() == GrColorType::kBGRA_8888) { in readPixels()
381 src[0].colorType() == GrColorType::kBGRA_8888) && in internalWritePixels()
384 dstColorType == GrColorType::kBGRA_8888) && in internalWritePixels()
455 if (origSrcBase.colorType() == GrColorType::kBGRA_8888) { in internalWritePixels()
DGrDataUtils.cpp455 case GrColorType::kBGRA_8888: *load = SkRasterPipeline::load_8888; in get_load_and_src_swizzle()
526 case GrColorType::kBGRA_8888: swizzle = GrSwizzle("bgra"); in get_dst_swizzle_and_store()
DGrCaps.cpp464 case GrColorType::kBGRA_8888: in color_type_fallback()
DSkGr.cpp301 case GrColorType::kBGRA_8888: in dither_range_for_config()
/third_party/skia/src/gpu/d3d/
DGrD3DCaps.cpp422 info.fFormatColorType = GrColorType::kBGRA_8888; in initFormatTable()
429 constexpr GrColorType ct = GrColorType::kBGRA_8888; in initFormatTable()
679 this->setColorType(GrColorType::kBGRA_8888, { DXGI_FORMAT_B8G8R8A8_UNORM }); in initFormatTable()
1085 {GrColorType::kBGRA_8888, GrBackendFormat::MakeDxgi(DXGI_FORMAT_B8G8R8A8_UNORM) }, in getTestingCombinations()
/third_party/skia/src/gpu/gl/
DGrGLCaps.cpp1455 ioFormat.fColorType = GrColorType::kBGRA_8888; in initFormatTable()
1468 ctInfo.fColorType = GrColorType::kBGRA_8888; in initFormatTable()
1470 this->setColorTypeFormat(GrColorType::kBGRA_8888, GrGLFormat::kRGBA8); in initFormatTable()
1480 ioFormat.fColorType = GrColorType::kBGRA_8888; in initFormatTable()
1904 info.fDefaultColorType = GrColorType::kBGRA_8888; in initFormatTable()
1974 ctInfo.fColorType = GrColorType::kBGRA_8888; in initFormatTable()
1976 this->setColorTypeFormat(GrColorType::kBGRA_8888, GrGLFormat::kBGRA8); in initFormatTable()
1986 ioFormat.fColorType = GrColorType::kBGRA_8888; in initFormatTable()
4873 combos.push_back({ GrColorType::kBGRA_8888, in getTestingCombinations()
4880 combos.push_back({ GrColorType::kBGRA_8888, in getTestingCombinations()
/third_party/skia/src/gpu/mtl/
DGrMtlCaps.mm738 // Format: BGRA8Unorm, Surface: kBGRA_8888
741 ctInfo.fColorType = GrColorType::kBGRA_8888;
942 this->setColorType(GrColorType::kBGRA_8888, { MTLPixelFormatBGRA8Unorm });
1206 { GrColorType::kBGRA_8888, GrBackendFormat::MakeMtl(MTLPixelFormatBGRA8Unorm) },
DGrMtlGpu.mm828 case MTLPixelFormatBGRA8Unorm: return GrColorType::kBGRA_8888;
/third_party/skia/src/gpu/vk/
DGrVkCaps.cpp927 constexpr GrColorType ct = GrColorType::kBGRA_8888; in initFormatTable()
1327 this->setColorType(GrColorType::kBGRA_8888, { VK_FORMAT_B8G8R8A8_UNORM }); in initFormatTable()
1985 { GrColorType::kBGRA_8888, GrBackendFormat::MakeVk(VK_FORMAT_B8G8R8A8_UNORM) }, in getTestingCombinations()