Home
last modified time | relevance | path

Searched refs:kAlpha_F16 (Results 1 – 24 of 24) sorted by relevance

/external/skia/src/gpu/mock/
DGrMockCaps.cpp56 { GrColorType::kAlpha_F16, GrBackendFormat::MakeMock(GrColorType::kAlpha_F16, in getTestingCombinations()
/external/skqp/include/private/
DGrTypesPriv.h1306 kAlpha_F16, enumerator
1325 case GrColorType::kAlpha_F16: return kUnknown_SkColorType; in GrColorTypeToSkColorType()
1367 case GrColorType::kAlpha_F16: return kAlpha_SkColorTypeComponentFlag; in GrColorTypeComponentFlags()
1399 case GrColorType::kAlpha_F16: return 2; in GrColorTypeBytesPerPixel()
1455 return GrColorType::kAlpha_F16; in GrPixelConfigToColorTypeAndEncoding()
1470 return GrColorType::kAlpha_F16; in GrPixelConfigToColorTypeAndEncoding()
1535 case GrColorType::kAlpha_F16: in GrColorTypeToPixelConfig()
/external/skia/tests/
DLazyProxyTest.cpp133 static const GrColorType kColorType = GrColorType::kAlpha_F16; in ClipFP()
202 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_F16].fRenderability =
204 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_F16].fTexturable = true;
213 auto mockAtlas = GrSurfaceDrawContext::Make(ctx.get(), GrColorType::kAlpha_F16, nullptr,
DMtlBackendAllocationTest.mm80 { GrColorType::kAlpha_F16, MTLPixelFormatR16Float, { 1.0f, 0, 0, 0.5f } },
150 case GrColorType::kAlpha_F16:
DFloatingPointTextureTest.cpp82 GrColorType::kAlpha_F16); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrCCPRTest.cpp116 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_F16].fRenderability = in run()
118 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_F16].fTexturable = true; in run()
DBackendAllocationTest.cpp797 { GrColorType::kAlpha_F16, GR_GL_R16F, { 1.0f, 0, 0, 0.5f } }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
798 { GrColorType::kAlpha_F16, GR_GL_LUMINANCE16F, kGrayCol }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
871 case GrColorType::kAlpha_F16: in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
950 { GrColorType::kAlpha_F16, VK_FORMAT_R16_SFLOAT, { 1.0f, 0, 0, 0.5f }}, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
1018 case GrColorType::kAlpha_F16: in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DTransferPixelsTest.cpp432 GrColorType::kAlpha_F16, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
465 GrColorType::kAlpha_F16, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/include/private/
DGrTypesPriv.h889 kAlpha_F16, enumerator
937 case GrColorType::kAlpha_F16: return kA16_float_SkColorType; in GrColorTypeToSkColorType()
979 case kA16_float_SkColorType: return GrColorType::kAlpha_F16; in SkColorTypeToGrColorType()
1007 case GrColorType::kAlpha_F16: return kAlpha_SkColorChannelFlag; in GrColorTypeChannelFlags()
1150 case GrColorType::kAlpha_F16: in GrGetColorTypeDesc()
1233 case GrColorType::kAlpha_F16: return 2; in GrColorTypeBytesPerPixel()
1372 case GrColorType::kAlpha_F16: return "kAlpha_F16"; in GrColorTypeToStr()
/external/skqp/src/gpu/ccpr/
DGrCCClipPath.cpp19 const GrBackendFormat format = caps.getBackendFormatFromGrColorType(GrColorType::kAlpha_F16, in init()
DGrCCAtlas.cpp79 ? GrColorType::kAlpha_F16 : GrColorType::kAlpha_8; in GrCCAtlas()
/external/skqp/tests/
DFloatingPointTextureTest.cpp91 GrColorType::kAlpha_F16); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DLazyProxyTest.cpp130 ctx->contextPriv().caps()->getBackendFormatFromGrColorType(GrColorType::kAlpha_F16, in ClipFP()
219 ctx->contextPriv().caps()->getBackendFormatFromGrColorType(GrColorType::kAlpha_F16,
/external/skia/src/gpu/dawn/
DGrDawnCaps.cpp50 case GrColorType::kAlpha_F16: in get_swizzle()
/external/skia/src/gpu/d3d/
DGrD3DCaps.cpp488 constexpr GrColorType ct = GrColorType::kAlpha_F16; in initFormatTable()
677 this->setColorType(GrColorType::kAlpha_F16, { DXGI_FORMAT_R16_FLOAT }); in initFormatTable()
1082 {GrColorType::kAlpha_F16, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R16_FLOAT) }, in getTestingCombinations()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp2210 ctInfo.fColorType = GrColorType::kAlpha_F16; in initFormatTable()
2214 this->setColorTypeFormat(GrColorType::kAlpha_F16, GrGLFormat::kR16F); in initFormatTable()
2224 ioFormat.fColorType = GrColorType::kAlpha_F16; in initFormatTable()
2293 ctInfo.fColorType = GrColorType::kAlpha_F16; in initFormatTable()
2298 int idx = static_cast<int>(GrColorType::kAlpha_F16); in initFormatTable()
2300 this->setColorTypeFormat(GrColorType::kAlpha_F16, GrGLFormat::kLUMINANCE16F); in initFormatTable()
2311 ioFormat.fColorType = GrColorType::kAlpha_F16; in initFormatTable()
4556 { GrColorType::kAlpha_F16, in getTestingCombinations()
4558 { GrColorType::kAlpha_F16, in getTestingCombinations()
/external/skia/src/gpu/
DGrDataUtils.cpp363 case GrColorType::kAlpha_F16: *load = SkRasterPipeline::load_af16; break; in get_load_and_src_swizzle()
451 case GrColorType::kAlpha_F16: *store = SkRasterPipeline::store_af16; in get_dst_swizzle_and_store()
DGrSurfaceFillContext.cpp44 case GrColorType::kAlpha_F16: in color_type_fallback()
DSkGr.cpp312 case GrColorType::kAlpha_F16: in dither_range_for_config()
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm766 // Format: R16Float, Surface: kAlpha_F16
769 ctInfo.fColorType = GrColorType::kAlpha_F16;
908 this->setColorType(GrColorType::kAlpha_F16, { MTLPixelFormatR16Float });
1165 { GrColorType::kAlpha_F16, GrBackendFormat::MakeMtl(MTLPixelFormatR16Float) },
/external/skia/src/gpu/vk/
DGrVkCaps.cpp980 constexpr GrColorType ct = GrColorType::kAlpha_F16; in initFormatTable()
1292 this->setColorType(GrColorType::kAlpha_F16, { VK_FORMAT_R16_SFLOAT }); in initFormatTable()
1907 { GrColorType::kAlpha_F16, GrBackendFormat::MakeVk(VK_FORMAT_R16_SFLOAT) }, in getTestingCombinations()
/external/skqp/samplecode/
DSampleCCPRGeometry.cpp186 ctx->contextPriv().caps()->getBackendFormatFromGrColorType(GrColorType::kAlpha_F16, in onDrawContent()
/external/skqp/src/gpu/gl/
DGrGLCaps.cpp2857 GrColorType::kAlpha_F16 == dstColorType) { in supportedReadPixelsColorType()
2858 return GrColorType::kAlpha_F16; in supportedReadPixelsColorType()
/external/skqp/src/gpu/
DGrContext.cpp377 case GrColorType::kAlpha_F16: return false; in valid_premul_color_type()