• Home
  • Raw
  • Download

Lines Matching refs:GrBackendFormat

51 static GrBackendFormat create_backend_format(GrContext* context,  in create_backend_format()
63 return GrBackendFormat(); in create_backend_format()
66 return GrBackendFormat::MakeGL(GR_GL_ALPHA8, GR_GL_TEXTURE_2D); in create_backend_format()
69 return GrBackendFormat::MakeGL(GR_GL_R8, GR_GL_TEXTURE_2D); in create_backend_format()
74 return GrBackendFormat::MakeGL(GR_GL_RGB565, GR_GL_TEXTURE_2D); in create_backend_format()
79 return GrBackendFormat::MakeGL(GR_GL_RGBA4, GR_GL_TEXTURE_2D); in create_backend_format()
84 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_2D); in create_backend_format()
89 return GrBackendFormat::MakeGL(GR_GL_RGB8, GR_GL_TEXTURE_2D); in create_backend_format()
95 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_2D); in create_backend_format()
97 return GrBackendFormat::MakeGL(GR_GL_BGRA8, GR_GL_TEXTURE_2D); in create_backend_format()
103 return GrBackendFormat::MakeGL(GR_GL_RGB10_A2, GR_GL_TEXTURE_2D); in create_backend_format()
107 return GrBackendFormat(); in create_backend_format()
110 return GrBackendFormat::MakeGL(GR_GL_LUMINANCE8, GR_GL_TEXTURE_2D); in create_backend_format()
113 return GrBackendFormat::MakeGL(GR_GL_R8, GR_GL_TEXTURE_2D); in create_backend_format()
118 return GrBackendFormat::MakeGL(GR_GL_RGBA16F, GR_GL_TEXTURE_2D); in create_backend_format()
122 return GrBackendFormat(); in create_backend_format()
130 return GrBackendFormat(); in create_backend_format()
134 return GrBackendFormat::MakeVk(VK_FORMAT_R8_UNORM); in create_backend_format()
139 return GrBackendFormat::MakeVk(VK_FORMAT_R5G6B5_UNORM_PACK16); in create_backend_format()
144 return GrBackendFormat::MakeVk(VK_FORMAT_B4G4R4A4_UNORM_PACK16); in create_backend_format()
149 return GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8A8_UNORM); in create_backend_format()
154 return GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8_UNORM); in create_backend_format()
159 return GrBackendFormat::MakeVk(VK_FORMAT_B8G8R8A8_UNORM); in create_backend_format()
164 return GrBackendFormat::MakeVk(VK_FORMAT_A2B10G10R10_UNORM_PACK32); in create_backend_format()
168 return GrBackendFormat(); in create_backend_format()
172 return GrBackendFormat::MakeVk(VK_FORMAT_R8_UNORM); in create_backend_format()
177 return GrBackendFormat::MakeVk(VK_FORMAT_R16G16B16A16_SFLOAT); in create_backend_format()
181 return GrBackendFormat(); in create_backend_format()
188 return GrBackendFormat(); in create_backend_format()
193 return GrBackendFormat::MakeMock(config); in create_backend_format()
198 return GrBackendFormat::MakeMock(config); in create_backend_format()
203 return GrBackendFormat::MakeMock(config); in create_backend_format()
208 return GrBackendFormat::MakeMock(config); in create_backend_format()
213 return GrBackendFormat::MakeMock(config); in create_backend_format()
218 return GrBackendFormat::MakeMock(config); in create_backend_format()
223 return GrBackendFormat::MakeMock(config); in create_backend_format()
227 return GrBackendFormat(); in create_backend_format()
232 return GrBackendFormat::MakeMock(config); in create_backend_format()
237 return GrBackendFormat::MakeMock(config); in create_backend_format()
241 return GrBackendFormat(); in create_backend_format()
245 return GrBackendFormat(); // return an invalid format in create_backend_format()
248 return GrBackendFormat(); // return an invalid format in create_backend_format()
337 GrBackendFormat backendFormat = create_backend_format(context, fColorType, fConfig); in createCharacterization()
876 GrBackendFormat format = create_backend_format(context, kRGBA_8888_SkColorType, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
982 GrBackendFormat format = GrBackendFormat::MakeGL(GR_GL_RGBA8, target); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()