Home
last modified time | relevance | path

Searched refs:R8Unorm (Results 1 – 25 of 34) sorted by relevance

12

/third_party/skia/src/gpu/dawn/
DGrDawnUtil.cpp15 case wgpu::TextureFormat::R8Unorm: in GrDawnBytesPerBlock()
28 case wgpu::TextureFormat::R8Unorm: in GrDawnFormatStencilBits()
53 *format = wgpu::TextureFormat::R8Unorm; in GrColorTypeToDawnFormat()
68 case wgpu::TextureFormat::R8Unorm: in GrDawnFormatToGrColorType()
88 case wgpu::TextureFormat::R8Unorm: in GrDawnFormatToStr()
DGrDawnUtil.h28 case wgpu::TextureFormat::R8Unorm: return kRed_SkColorChannelFlag; in GrDawnFormatChannels()
40 case wgpu::TextureFormat::R8Unorm: in GrDawnFormatDesc()
DGrDawnCaps.cpp200 { GrColorType::kAlpha_8, GrBackendFormat::MakeDawn(wgpu::TextureFormat::R8Unorm) }, in getTestingCombinations()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DNonzeroTextureCreationTests.cpp108 DAWN_SUPPRESS_TEST_IF((GetParam().mFormat == wgpu::TextureFormat::R8Unorm || in Run()
154 case wgpu::TextureFormat::R8Unorm: { in Run()
316 {wgpu::TextureFormat::R8Unorm, wgpu::TextureFormat::RG8Unorm, wgpu::TextureFormat::RGBA8Unorm},
428 {wgpu::TextureFormat::R8Unorm, wgpu::TextureFormat::RG8Unorm, wgpu::TextureFormat::RGBA8Unorm},
DIOSurfaceWrappingTests.cpp225 descriptor.format = wgpu::TextureFormat::R8Unorm; in TEST_P()
381 DoSampleTest(ioSurface.get(), wgpu::TextureFormat::R8Unorm, &data, sizeof(data), in TEST_P()
392 DoClearTest(ioSurface.get(), wgpu::TextureFormat::R8Unorm, &data, sizeof(data)); in TEST_P()
DSwapChainValidationTests.cpp245 pipelineDesc.cTargets[1].format = wgpu::TextureFormat::R8Unorm; in TEST_P()
254 textureDesc.format = wgpu::TextureFormat::R8Unorm; in TEST_P()
DMultisampledSamplingTests.cpp38 static constexpr wgpu::TextureFormat kColorFormat = wgpu::TextureFormat::R8Unorm;
DCopyTextureForBrowserTests.cpp279 case wgpu::TextureFormat::R8Unorm: in GetTextureFormatComponentCount()
643 {wgpu::TextureFormat::R8Unorm, wgpu::TextureFormat::R16Float, wgpu::TextureFormat::R32Float,
DTextureFormatTests.cpp442 TEST_P(TextureFormatTest, R8Unorm) { in TEST_P() argument
443 DoUnormTest<uint8_t>({wgpu::TextureFormat::R8Unorm, 1, wgpu::TextureComponentType::Float, 1}); in TEST_P()
DD3D12ResourceWrappingTests.cpp269 baseDawnDescriptor.format = wgpu::TextureFormat::R8Unorm; in TEST_P()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVideoViewsValidationTests.cpp54 viewDesc.format = wgpu::TextureFormat::R8Unorm; in TEST_F()
59 viewDesc.format = wgpu::TextureFormat::R8Unorm; in TEST_F()
81 viewDesc.format = wgpu::TextureFormat::R8Unorm; in TEST_F()
107 planeViewDesc.format = wgpu::TextureFormat::R8Unorm; in TEST_F()
DTextureViewValidationTests.cpp359 descriptor.format = wgpu::TextureFormat::R8Unorm; in TEST_F()
418 descriptor.format = wgpu::TextureFormat::R8Unorm; in TEST_F()
461 descriptor.format = wgpu::TextureFormat::R8Unorm; in TEST_F()
DStorageTextureValidationTests.cpp245 wgpu::TextureFormat::R8Unorm, wgpu::TextureFormat::R8Snorm, in TEST_F()
271 wgpu::TextureFormat::R8Unorm, wgpu::TextureFormat::R8Snorm, in TEST_F()
/third_party/skia/third_party/externals/dawn/src/utils/
DTextureUtils.cpp135 case wgpu::TextureFormat::R8Unorm: in GetTexelBlockSizeInBytes()
267 case wgpu::TextureFormat::R8Unorm: in GetTextureFormatBlockWidth()
385 case wgpu::TextureFormat::R8Unorm: in GetTextureFormatBlockHeight()
503 case wgpu::TextureFormat::R8Unorm: in GetWGSLColorTextureComponentType()
552 case wgpu::TextureFormat::R8Unorm: in GetWGSLRenderableColorTextureComponentCount()
628 case wgpu::TextureFormat::R8Unorm: in GetWGSLImageFormatQualifier()
DTestUtils.cpp123 descriptor.format = wgpu::TextureFormat::R8Unorm; in UnalignDynamicUploader()
DTextureUtils.h27 wgpu::TextureFormat::R8Unorm,
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DSpirvUtils.cpp70 return wgpu::TextureFormat::R8Unorm; in SpirvImageFormatToTextureFormat()
DGLFormat.cpp47 AddFormat(wgpu::TextureFormat::R8Unorm, GL_R8, GL_RED, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DFormat.cpp282 AddColorFormat(wgpu::TextureFormat::R8Unorm, true, false, 1, kAnyFloat, 1); in BuildFormatTable()
410 …wgpu::TextureFormat::R8Unorm, wgpu::TextureFormat::RG8Unorm, false, isMultiPlanarFormatSupported, … in BuildFormatTable()
DCopyTextureForBrowserHelper.cpp156 case wgpu::TextureFormat::R8Unorm: in ValidateCopyTextureFormatConversion()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DEGLImageWrappingTests.cpp357 DoClearTest(eglImage.getImage(), eglImage.getTexture(), wgpu::TextureFormat::R8Unorm, GL_RED, in TEST_P()
/third_party/skia/src/gpu/mtl/
DGrMtlCaps.mm623 // Format: R8Unorm
630 // Format: R8Unorm, Surface: kAlpha_8
638 // Format: R8Unorm, Surface: kGray_8
DGrMtlUtil.mm476 case MTLPixelFormatR8Unorm: return "R8Unorm";
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.cpp115 case wgpu::TextureFormat::R8Unorm: in D3D12TypelessTextureFormat()
268 case wgpu::TextureFormat::R8Unorm: in D3D12TextureFormat()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DTextureMTL.mm125 return wgpu::TextureFormat::R8Unorm;
143 case wgpu::TextureFormat::R8Unorm:

12