Home
last modified time | relevance | path

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

/external/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()
/external/skqp/include/private/
DGrTypesPriv.h1303 kBGRA_8888, enumerator
1322 case GrColorType::kBGRA_8888: return kBGRA_8888_SkColorType; in GrColorTypeToSkColorType()
1343 case kBGRA_8888_SkColorType: return GrColorType::kBGRA_8888; in SkColorTypeToGrColorType()
1364 case GrColorType::kBGRA_8888: return kRGBA_SkColorTypeComponentFlags; in GrColorTypeComponentFlags()
1396 case GrColorType::kBGRA_8888: return 4; in GrColorTypeBytesPerPixel()
1437 return GrColorType::kBGRA_8888; in GrPixelConfigToColorTypeAndEncoding()
1443 return GrColorType::kBGRA_8888; in GrPixelConfigToColorTypeAndEncoding()
1519 case GrColorType::kBGRA_8888: in GrColorTypeToPixelConfig()
/external/skia/src/gpu/mock/
DGrMockCaps.cpp48 { GrColorType::kBGRA_8888, GrBackendFormat::MakeMock(GrColorType::kBGRA_8888, in getTestingCombinations()
/external/skia/include/private/
DGrTypesPriv.h884 kBGRA_8888, enumerator
932 case GrColorType::kBGRA_8888: return kBGRA_8888_SkColorType; in GrColorTypeToSkColorType()
967 case kBGRA_8888_SkColorType: return GrColorType::kBGRA_8888; in SkColorTypeToGrColorType()
1002 case GrColorType::kBGRA_8888: return kRGBA_SkColorChannelFlags; in GrColorTypeChannelFlags()
1140 case GrColorType::kBGRA_8888: in GrGetColorTypeDesc()
1228 case GrColorType::kBGRA_8888: return 4; in GrColorTypeBytesPerPixel()
1367 case GrColorType::kBGRA_8888: return "kBGRA_8888"; in GrColorTypeToStr()
/external/skqp/tests/
DTransferPixelsTest.cpp187 basic_transfer_test(reporter, ctxInfo.grContext(), GrColorType::kBGRA_8888, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
188 basic_transfer_test(reporter, ctxInfo.grContext(), GrColorType::kBGRA_8888, true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrTestingBackendTextureUploadTest.cpp74 for (auto colorType: { GrColorType::kRGBA_8888, GrColorType::kBGRA_8888 }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DReadWriteAlphaTest.cpp163 {GrColorType::kBGRA_8888, GrSRGBEncoded::kNo}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DBackendAllocationTest.cpp165 return format.asMockColorType() == GrColorType::kBGRA_8888; in isBGRA8()
775 { GrColorType::kBGRA_8888, GR_GL_RGBA8, SkColors::kBlue }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
776 { GrColorType::kBGRA_8888, GR_GL_BGRA8, SkColors::kBlue }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
815 if (GrColorType::kBGRA_8888 == combo.fColorType || in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
928 { GrColorType::kBGRA_8888, VK_FORMAT_B8G8R8A8_UNORM, SkColors::kBlue }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DTransferPixelsTest.cpp428 GrColorType::kBGRA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
461 GrColorType::kBGRA_8888, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DMtlBackendAllocationTest.mm59 { GrColorType::kBGRA_8888, MTLPixelFormatBGRA8Unorm, SkColors::kBlue },
/external/skia/include/gpu/mock/
DGrMockTypes.h97 fConfigOptions[(int)GrColorType::kBGRA_8888] = fConfigOptions[(int)GrColorType::kRGBA_8888]; in GrMockOptions()
/external/skqp/src/gpu/
DGrContext.cpp374 case GrColorType::kBGRA_8888: return true; in valid_premul_color_type()
434 (srcColorType == GrColorType::kRGBA_8888 || srcColorType == GrColorType::kBGRA_8888) && in writeSurfacePixels()
494 if (srcColorType == GrColorType::kBGRA_8888) { in writeSurfacePixels()
628 (GrColorType::kRGBA_8888 == dstColorType || GrColorType::kBGRA_8888 == dstColorType) && in readSurfacePixels()
682 if (dstColorType == GrColorType::kBGRA_8888) { in readSurfacePixels()
/external/skia/src/gpu/
DGrSurfaceContext.cpp227 GrColorType::kBGRA_8888 == dst.colorType()) && in readPixels()
230 srcColorType == GrColorType::kBGRA_8888) && in readPixels()
260 if (dst.colorType() == GrColorType::kBGRA_8888) { in readPixels()
476 src[0].colorType() == GrColorType::kBGRA_8888) && in internalWritePixels()
479 dstColorType == GrColorType::kBGRA_8888) && in internalWritePixels()
544 if (origSrcBase.colorType() == GrColorType::kBGRA_8888) { in internalWritePixels()
DGrDataUtils.cpp395 case GrColorType::kBGRA_8888: *load = SkRasterPipeline::load_8888; in get_load_and_src_swizzle()
466 case GrColorType::kBGRA_8888: swizzle = GrSwizzle("bgra"); in get_dst_swizzle_and_store()
DGrSurfaceFillContext.cpp38 case GrColorType::kBGRA_8888: in color_type_fallback()
DSkGr.cpp299 case GrColorType::kBGRA_8888: in dither_range_for_config()
/external/skia/src/gpu/d3d/
DGrD3DCaps.cpp417 info.fFormatColorType = GrColorType::kBGRA_8888; in initFormatTable()
424 constexpr GrColorType ct = GrColorType::kBGRA_8888; in initFormatTable()
674 this->setColorType(GrColorType::kBGRA_8888, { DXGI_FORMAT_B8G8R8A8_UNORM }); in initFormatTable()
1079 {GrColorType::kBGRA_8888, GrBackendFormat::MakeDxgi(DXGI_FORMAT_B8G8R8A8_UNORM) }, in getTestingCombinations()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp1397 ioFormat.fColorType = GrColorType::kBGRA_8888; in initFormatTable()
1410 ctInfo.fColorType = GrColorType::kBGRA_8888; in initFormatTable()
1412 this->setColorTypeFormat(GrColorType::kBGRA_8888, GrGLFormat::kRGBA8); in initFormatTable()
1422 ioFormat.fColorType = GrColorType::kBGRA_8888; in initFormatTable()
1844 info.fDefaultColorType = GrColorType::kBGRA_8888; in initFormatTable()
1910 ctInfo.fColorType = GrColorType::kBGRA_8888; in initFormatTable()
1912 this->setColorTypeFormat(GrColorType::kBGRA_8888, GrGLFormat::kBGRA8); in initFormatTable()
1922 ioFormat.fColorType = GrColorType::kBGRA_8888; in initFormatTable()
4575 combos.push_back({ GrColorType::kBGRA_8888, in getTestingCombinations()
4582 combos.push_back({ GrColorType::kBGRA_8888, in getTestingCombinations()
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm696 // Format: BGRA8Unorm, Surface: kBGRA_8888
699 ctInfo.fColorType = GrColorType::kBGRA_8888;
900 this->setColorType(GrColorType::kBGRA_8888, { MTLPixelFormatBGRA8Unorm });
1159 { GrColorType::kBGRA_8888, GrBackendFormat::MakeMtl(MTLPixelFormatBGRA8Unorm) },
DGrMtlGpu.mm849 case MTLPixelFormatBGRA8Unorm: return GrColorType::kBGRA_8888;
/external/skia/src/gpu/vk/
DGrVkCaps.cpp915 constexpr GrColorType ct = GrColorType::kBGRA_8888; in initFormatTable()
1288 this->setColorType(GrColorType::kBGRA_8888, { VK_FORMAT_B8G8R8A8_UNORM }); in initFormatTable()
1903 { GrColorType::kBGRA_8888, GrBackendFormat::MakeVk(VK_FORMAT_B8G8R8A8_UNORM) }, in getTestingCombinations()