Lines Matching refs:GrBackendFormat
766 bool GrD3DCaps::isFormatSRGB(const GrBackendFormat& format) const { in isFormatSRGB()
780 bool GrD3DCaps::isFormatTexturable(const GrBackendFormat& format) const { in isFormatTexturable()
794 bool GrD3DCaps::isFormatAsColorTypeRenderable(GrColorType ct, const GrBackendFormat& format, in isFormatAsColorTypeRenderable()
810 bool GrD3DCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { in isFormatRenderable()
828 const GrBackendFormat& format) const { in getRenderTargetSampleCount()
861 int GrD3DCaps::maxRenderTargetSampleCount(const GrBackendFormat& format) const { in maxRenderTargetSampleCount()
885 GrColorType surfaceColorType, const GrBackendFormat& surfaceFormat, in supportedWritePixelsColorType()
935 const GrBackendFormat& format) const { in onAreColorTypeAndFormatCompatible()
950 GrBackendFormat GrD3DCaps::onGetDefaultBackendFormat(GrColorType ct) const { in onGetDefaultBackendFormat()
955 return GrBackendFormat::MakeDxgi(format); in onGetDefaultBackendFormat()
958 GrBackendFormat GrD3DCaps::getBackendFormatFromCompressionType( in getBackendFormatFromCompressionType()
963 return GrBackendFormat::MakeDxgi(DXGI_FORMAT_BC1_UNORM); in getBackendFormatFromCompressionType()
973 GrSwizzle GrD3DCaps::onGetReadSwizzle(const GrBackendFormat& format, GrColorType colorType) const { in onGetReadSwizzle()
987 GrSwizzle GrD3DCaps::getWriteSwizzle(const GrBackendFormat& format, GrColorType colorType) const { in getWriteSwizzle()
1001 uint64_t GrD3DCaps::computeFormatKey(const GrBackendFormat& format) const { in computeFormatKey()
1009 GrColorType srcColorType, const GrBackendFormat& srcBackendFormat, in onSupportedReadPixelsColorType()
1037 const GrBackendFormat& format) const { in addExtraSamplerKey()
1072 {GrColorType::kAlpha_8, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R8_UNORM) }, in getTestingCombinations()
1073 {GrColorType::kBGR_565, GrBackendFormat::MakeDxgi(DXGI_FORMAT_B5G6R5_UNORM) }, in getTestingCombinations()
1074 {GrColorType::kABGR_4444, GrBackendFormat::MakeDxgi(DXGI_FORMAT_B4G4R4A4_UNORM) }, in getTestingCombinations()
1075 {GrColorType::kRGBA_8888, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R8G8B8A8_UNORM) }, in getTestingCombinations()
1076 {GrColorType::kRGBA_8888_SRGB, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R8G8B8A8_UNORM_SRGB)}, in getTestingCombinations()
1077 {GrColorType::kRGB_888x, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R8G8B8A8_UNORM) }, in getTestingCombinations()
1078 {GrColorType::kRG_88, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R8G8_UNORM) }, in getTestingCombinations()
1079 {GrColorType::kBGRA_8888, GrBackendFormat::MakeDxgi(DXGI_FORMAT_B8G8R8A8_UNORM) }, in getTestingCombinations()
1080 {GrColorType::kRGBA_1010102, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R10G10B10A2_UNORM) }, in getTestingCombinations()
1081 {GrColorType::kGray_8, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R8_UNORM) }, in getTestingCombinations()
1082 {GrColorType::kAlpha_F16, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R16_FLOAT) }, in getTestingCombinations()
1083 {GrColorType::kRGBA_F16, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R16G16B16A16_FLOAT) }, in getTestingCombinations()
1084 {GrColorType::kRGBA_F16_Clamped, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R16G16B16A16_FLOAT)}, in getTestingCombinations()
1085 {GrColorType::kAlpha_16, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R16_UNORM) }, in getTestingCombinations()
1086 {GrColorType::kRG_1616, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R16G16_UNORM) }, in getTestingCombinations()
1087 {GrColorType::kRGBA_16161616, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R16G16B16A16_UNORM) }, in getTestingCombinations()
1088 {GrColorType::kRG_F16, GrBackendFormat::MakeDxgi(DXGI_FORMAT_R16G16_FLOAT) }, in getTestingCombinations()
1089 {GrColorType::kRGBA_8888, GrBackendFormat::MakeDxgi(DXGI_FORMAT_BC1_UNORM) }, in getTestingCombinations()