render: extract gles2 build files to subdir

This will make it easier to toggle when we make our GLES2 renderer
optional.
This commit is contained in:
Simon Ser 2021-01-15 22:12:02 +01:00
parent c73a8cde83
commit 87293d1b15
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 8 additions and 4 deletions

6
render/gles2/meson.build Normal file
View file

@ -0,0 +1,6 @@
wlr_files += files(
'pixel_format.c',
'renderer.c',
'shaders.c',
'texture.c',
)

View file

@ -4,11 +4,9 @@ wlr_files += files(
'egl.c', 'egl.c',
'drm_format_set.c', 'drm_format_set.c',
'gbm_allocator.c', 'gbm_allocator.c',
'gles2/pixel_format.c',
'gles2/renderer.c',
'gles2/shaders.c',
'gles2/texture.c',
'swapchain.c', 'swapchain.c',
'wlr_renderer.c', 'wlr_renderer.c',
'wlr_texture.c', 'wlr_texture.c',
) )
subdir('gles2')