Home
last modified time | relevance | path

Searched refs:kAlpha_8 (Results 1 – 25 of 67) sorted by relevance

123

/third_party/flutter/skia/src/gpu/dawn/
DGrDawnCaps.cpp54 case GrColorType::kAlpha_8: in onGetConfigFromBackendFormat()
86 case GrColorType::kAlpha_8: // fall through in get_swizzle()
115 case GrColorType::kAlpha_8: in isFormatTexturableAndUploadable()
200 { GrColorType::kAlpha_8, GrBackendFormat::MakeDawn(dawn::TextureFormat::R8Unorm) }, in getTestingCombinations()
/third_party/flutter/skia/src/gpu/mock/
DGrMockCaps.cpp14 { GrColorType::kAlpha_8, GrBackendFormat::MakeMock(GrColorType::kAlpha_8) }, in getTestingCombinations()
/third_party/flutter/skia/include/private/
DGrTypesPriv.h1086 kAlpha_8, enumerator
1124 case GrColorType::kAlpha_8: return kAlpha_8_SkColorType; in GrColorTypeToSkColorType()
1154 case kAlpha_8_SkColorType: return GrColorType::kAlpha_8; in SkColorTypeToGrColorType()
1179 case GrColorType::kAlpha_8: return kAlpha_SkColorTypeComponentFlag; in GrColorTypeComponentFlags()
1301 case GrColorType::kAlpha_8: in GrGetColorTypeDesc()
1378 case GrColorType::kAlpha_8: return 1; in GrColorTypeBytesPerPixel()
1409 return GrColorType::kAlpha_8; in GrPixelConfigToColorType()
1445 return GrColorType::kAlpha_8; in GrPixelConfigToColorType()
1447 return GrColorType::kAlpha_8; in GrPixelConfigToColorType()
1472 case GrColorType::kAlpha_8: return kAlpha_8_GrPixelConfig; in GrColorTypeToPixelConfig()
[all …]
/third_party/skia/src/gpu/ops/
DSmallPathAtlasMgr.cpp54 const GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kAlpha_8, in initAtlas()
60 GrColorType::kAlpha_8, size.width(), size.height(), in initAtlas()
DSoftwarePathRenderer.cpp90 const GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kAlpha_8, in make_deferred_mask_texture_view()
93 GrSwizzle swizzle = caps->getReadSwizzle(format, GrColorType::kAlpha_8); in make_deferred_mask_texture_view()
326 proxy->backendFormat(), GrColorType::kAlpha_8); in onDrawPath()
/third_party/flutter/skia/src/gpu/effects/generated/
DGrRRectBlurEffect.h55 key, GrColorType::kAlpha_8, kBottomLeft_GrSurfaceOrigin)); in find_or_create_rrect_blur_mask()
60 SkBackingFit::kExact, size.fWidth, size.fHeight, GrColorType::kAlpha_8, in find_or_create_rrect_blur_mask()
/third_party/skia/include/private/
DGrTypesPriv.h857 kAlpha_8, enumerator
904 case GrColorType::kAlpha_8: return kAlpha_8_SkColorType; in GrColorTypeToSkColorType()
941 case kAlpha_8_SkColorType: return GrColorType::kAlpha_8; in SkColorTypeToGrColorType()
969 case GrColorType::kAlpha_8: return kAlpha_SkColorChannelFlag; in GrColorTypeChannelFlags()
1100 case GrColorType::kAlpha_8: in GrGetColorTypeDesc()
1195 case GrColorType::kAlpha_8: return 1; in GrColorTypeBytesPerPixel()
1245 return GrColorType::kAlpha_8; in GrMaskFormatToColorType()
1309 case GrColorType::kAlpha_8: return "kAlpha_8"; in GrColorTypeToStr()
/third_party/skia/tests/
DMtlBackendAllocationTest.mm72 { GrColorType::kAlpha_8, MTLPixelFormatA8Unorm, kTransCol },
73 { GrColorType::kAlpha_8, MTLPixelFormatR8Unorm, kTransCol },
144 case GrColorType::kAlpha_8:
DProgramsTest.cpp262 const GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kAlpha_8, in ProgramUnitTest()
267 GrSwizzle swizzle = caps->getReadSwizzle(format, GrColorType::kAlpha_8); in ProgramUnitTest()
269 GrColorType::kAlpha_8, kPremul_SkAlphaType}; in ProgramUnitTest()
DDrawOpAtlasTest.cpp143 GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kAlpha_8, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
152 GrColorType::kAlpha_8, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DBackendAllocationTest.cpp777 { GrColorType::kAlpha_8, GR_GL_ALPHA8, kTransCol }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
778 { GrColorType::kAlpha_8, GR_GL_R8, kTransCol }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
860 case GrColorType::kAlpha_8: in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
934 { GrColorType::kAlpha_8, VK_FORMAT_R8_UNORM, kTransCol }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
1005 case GrColorType::kAlpha_8: in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/third_party/skia/src/gpu/mock/
DGrMockCaps.cpp49 { GrColorType::kAlpha_8, GrBackendFormat::MakeMock(GrColorType::kAlpha_8, in getTestingCombinations()
/third_party/flutter/skia/src/gpu/text/
DGrAtlasManager.cpp31 return GrColorType::kAlpha_8; in mask_format_to_gr_color_type()
38 return GrColorType::kAlpha_8; in mask_format_to_gr_color_type()
/third_party/flutter/skia/src/gpu/
DGrClipStackClip.cpp353 key, GrColorType::kAlpha_8, kTopLeft_GrSurfaceOrigin)); in createAlphaClipMask()
363 GrColorType::kAlpha_8, in createAlphaClipMask()
476 key, GrColorType::kAlpha_8, kTopLeft_GrSurfaceOrigin)); in createSoftwareClipMask()
497 GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kAlpha_8, in createSoftwareClipMask()
DGrBlurUtils.cpp83 filteredMask = proxyProvider->findOrCreateProxyByUniqueKey(key, GrColorType::kAlpha_8, in sw_draw_with_mask_filter()
180 GrColorType::kAlpha_8, nullptr, sampleCnt, GrMipMapped::kNo, in create_mask_GPU()
393 maskKey, GrColorType::kAlpha_8, kTopLeft_GrSurfaceOrigin); in draw_shape_with_mask_filter()
/third_party/skia/src/gpu/dawn/
DGrDawnCaps.cpp49 case GrColorType::kAlpha_8: // fall through in get_swizzle()
200 { GrColorType::kAlpha_8, GrBackendFormat::MakeDawn(wgpu::TextureFormat::R8Unorm) }, in getTestingCombinations()
DGrDawnUtil.cpp51 case GrColorType::kAlpha_8: in GrColorTypeToDawnFormat()
/third_party/flutter/skia/tests/
DBackendAllocationTest.cpp563 { GrColorType::kAlpha_8, GR_GL_ALPHA8, kTransCol }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
564 { GrColorType::kAlpha_8, GR_GL_R8, kTransCol }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
636 if (GrColorType::kAlpha_8 == combo.fColorType) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
697 { GrColorType::kAlpha_8, VK_FORMAT_R8_UNORM, kTransCol }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
774 case GrColorType::kAlpha_8: in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DReadWriteAlphaTest.cpp79 std::move(proxy), GrColorType::kAlpha_8, kPremul_SkAlphaType)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
115 alphaData, msg, GrColorType::kAlpha_8); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DMtlBackendAllocationTest.mm57 { GrColorType::kAlpha_8, MTLPixelFormatA8Unorm, kTransCol },
58 { GrColorType::kAlpha_8, MTLPixelFormatR8Unorm, kTransCol },
DDrawOpAtlasTest.cpp142 GrBackendFormat format = caps->getDefaultBackendFormat(GrColorType::kAlpha_8, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
148 GrColorType::kAlpha_8, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlCaps.mm484 // Format: R8Unorm, Surface: kAlpha_8
487 ctInfo.fColorType = GrColorType::kAlpha_8;
508 // Format: A8Unorm, Surface: kAlpha_8
511 ctInfo.fColorType = GrColorType::kAlpha_8;
781 this->setColorType(GrColorType::kAlpha_8, { MTLPixelFormatR8Unorm,
820 case GrColorType::kAlpha_8:
952 case MTLPixelFormatR8Unorm: return isAlphaChannel ? GrColorType::kAlpha_8
1053 { GrColorType::kAlpha_8, GrBackendFormat::MakeMtl(MTLPixelFormatA8Unorm) },
1054 { GrColorType::kAlpha_8, GrBackendFormat::MakeMtl(MTLPixelFormatR8Unorm) },
/third_party/flutter/skia/include/gpu/mock/
DGrMockTypes.h83 fConfigOptions[(int)GrColorType::kAlpha_8].fTexturable = true; in GrMockOptions()
/third_party/flutter/skia/src/gpu/effects/
DGrRRectBlurEffect.fp54 key, GrColorType::kAlpha_8, kBottomLeft_GrSurfaceOrigin));
60 size.fHeight, GrColorType::kAlpha_8, nullptr));
/third_party/skia/include/gpu/mock/
DGrMockTypes.h103 fConfigOptions[(int)GrColorType::kAlpha_8].fTexturable = true; in GrMockOptions()

123