Searched refs:fallback_formats (Results 1 – 2 of 2) sorted by relevance
423 static const int fallback_formats[] = { in query_dmabuf_formats() local431 int num = ARRAY_LENGTH(fallback_formats); in query_dmabuf_formats()436 memcpy_s(*formats, num * sizeof(int), fallback_formats, sizeof(fallback_formats)); in query_dmabuf_formats()
2388 static const int fallback_formats[] = { in gl_renderer_query_dmabuf_formats() local2404 num = gr->has_gl_texture_rg ? ARRAY_LENGTH(fallback_formats) : 2; in gl_renderer_query_dmabuf_formats()2415 memcpy(*formats, fallback_formats, num * sizeof(int)); in gl_renderer_query_dmabuf_formats()