mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-03 09:01:40 -05:00
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:
parent
08454adada
commit
c01b81c99c
4 changed files with 136 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ lib_wlr_render = static_library(
|
|||
files(
|
||||
'dmabuf.c',
|
||||
'egl.c',
|
||||
'drm_format_set.c',
|
||||
'gles2/pixel_format.c',
|
||||
'gles2/renderer.c',
|
||||
'gles2/shaders.c',
|
||||
|
|
@ -27,7 +28,7 @@ lib_wlr_render = static_library(
|
|||
drm.partial_dependency(compile_args: true), # <drm_fourcc.h>
|
||||
glesv2,
|
||||
pixman,
|
||||
wayland_server
|
||||
wayland_server,
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue