Home
last modified time | relevance | path

Searched refs:dawnFormat (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/dawn/
DGrDawnCaps.cpp42 wgpu::TextureFormat dawnFormat; in isFormatTexturable() local
43 return format.asDawnFormat(&dawnFormat); in isFormatTexturable()
74 wgpu::TextureFormat dawnFormat; in isFormatRenderable() local
75 if (!format.isValid() || sampleCount > 1 || !format.asDawnFormat(&dawnFormat)) { in isFormatRenderable()
79 return GrDawnFormatIsRenderable(dawnFormat); in isFormatRenderable()
101 wgpu::TextureFormat dawnFormat; in getRenderTargetSampleCount() local
102 if (!backendFormat.asDawnFormat(&dawnFormat)) { in getRenderTargetSampleCount()
105 return GrDawnFormatIsRenderable(dawnFormat) ? 1 : 0; in getRenderTargetSampleCount()
135 wgpu::TextureFormat dawnFormat; in computeFormatKey() local
136 SkAssertResult(format.asDawnFormat(&dawnFormat)); in computeFormatKey()
[all …]
/external/skia/src/gpu/
DGrBackendUtils.cpp130 wgpu::TextureFormat dawnFormat; in GrBackendFormatBytesPerBlock() local
131 SkAssertResult(format.asDawnFormat(&dawnFormat)); in GrBackendFormatBytesPerBlock()
132 return GrDawnBytesPerBlock(dawnFormat); in GrBackendFormatBytesPerBlock()
190 wgpu::TextureFormat dawnFormat; in GrBackendFormatStencilBits() local
191 SkAssertResult(format.asDawnFormat(&dawnFormat)); in GrBackendFormatStencilBits()
192 return GrDawnFormatStencilBits(dawnFormat); in GrBackendFormatStencilBits()
/external/skia/tests/
DBackendAllocationTest.cpp153 wgpu::TextureFormat dawnFormat; in isBGRA8() local
154 format.asDawnFormat(&dawnFormat); in isBGRA8()
155 return dawnFormat == wgpu::TextureFormat::BGRA8Unorm; in isBGRA8()