Home
last modified time | relevance | path

Searched refs:fallback_formats (Results 1 – 2 of 2) sorted by relevance

/third_party/weston/libweston/
Dtde-render-part.cpp423 static const int fallback_formats[] = { in query_dmabuf_formats() local
431 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()
/third_party/weston/libweston/renderer-gl/
Dgl-renderer.c2388 static const int fallback_formats[] = { in gl_renderer_query_dmabuf_formats() local
2404 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()