render: introduce wlr_drm_format_set

This types adds a container for formats + modifiers.

A list that is of [format [modifier]] was chosen instead of
[format modifer] because that is how GBM accepts them.

Co-Authored-By: emersion <contact@emersion.fr>
This commit is contained in:
Scott Anderson 2019-04-01 19:15:56 +03:00 committed by emersion
parent 08454adada
commit c01b81c99c
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 136 additions and 2 deletions

View file

@ -1,9 +1,10 @@
install_headers(
'dmabuf.h',
'egl.h',
'drm_format_set.h',
'gles2.h',
'interface.h',
'wlr_renderer.h',
'wlr_texture.h',
subdir: 'wlr/render'
subdir: 'wlr/render',
)