Lines Matching refs:TextureFormat
10 GrPixelConfig GrDawnFormatToPixelConfig(dawn::TextureFormat format) { in GrDawnFormatToPixelConfig()
12 case dawn::TextureFormat::RGBA8Unorm: in GrDawnFormatToPixelConfig()
14 case dawn::TextureFormat::BGRA8Unorm: in GrDawnFormatToPixelConfig()
16 case dawn::TextureFormat::R8Unorm: in GrDawnFormatToPixelConfig()
18 case dawn::TextureFormat::Depth24PlusStencil8: in GrDawnFormatToPixelConfig()
25 bool GrDawnFormatIsRenderable(dawn::TextureFormat format) { in GrDawnFormatIsRenderable()
31 bool GrPixelConfigToDawnFormat(GrPixelConfig config, dawn::TextureFormat* format) { in GrPixelConfigToDawnFormat()
37 *format = dawn::TextureFormat::RGBA8Unorm; in GrPixelConfigToDawnFormat()
40 *format = dawn::TextureFormat::BGRA8Unorm; in GrPixelConfigToDawnFormat()
44 *format = dawn::TextureFormat::R8Unorm; in GrPixelConfigToDawnFormat()
57 const char* GrDawnFormatToStr(dawn::TextureFormat format) { in GrDawnFormatToStr()
59 case dawn::TextureFormat::RGBA8Unorm: in GrDawnFormatToStr()
61 case dawn::TextureFormat::BGRA8Unorm: in GrDawnFormatToStr()
63 case dawn::TextureFormat::R8Unorm: in GrDawnFormatToStr()
65 case dawn::TextureFormat::Depth24PlusStencil8: in GrDawnFormatToStr()