Lines Matching refs:GrBackendFormat
63 GrBackendFormat GetBackendFormat(GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in GetBackendFormat()
72 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
74 return GrBackendFormat::MakeGL(GR_GL_RGBA16F, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
76 return GrBackendFormat::MakeGL(GR_GL_RGB565, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
78 return GrBackendFormat::MakeGL(GR_GL_RGB10_A2, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
80 return GrBackendFormat::MakeGL(GR_GL_RGB8, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
83 return GrBackendFormat(); in GetBackendFormat()
85 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
92 return GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8A8_UNORM); in GetBackendFormat()
94 return GrBackendFormat::MakeVk(VK_FORMAT_R16G16B16A16_SFLOAT); in GetBackendFormat()
96 return GrBackendFormat::MakeVk(VK_FORMAT_R5G6B5_UNORM_PACK16); in GetBackendFormat()
98 return GrBackendFormat::MakeVk(VK_FORMAT_A2B10G10R10_UNORM_PACK32); in GetBackendFormat()
100 return GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8A8_UNORM); in GetBackendFormat()
102 return GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8_UNORM); in GetBackendFormat()
105 return GrBackendFormat(); in GetBackendFormat()
112 return GrBackendFormat(); in GetBackendFormat()
127 return GrBackendFormat(); in GetBackendFormat()
131 return GrBackendFormat(); in GetBackendFormat()
149 return GrBackendFormat::MakeVk(ycbcrConversion); in GetBackendFormat()
154 return GrBackendFormat(); in GetBackendFormat()
157 return GrBackendFormat(); in GetBackendFormat()
214 const GrBackendFormat& backendFormat, in make_gl_backend_texture()
308 const GrBackendFormat& backendFormat, in make_vk_backend_texture()
543 const GrBackendFormat& backendFormat, in MakeBackendTexture()