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',
'drm_format_set.c',
'gbm_allocator.c',
'gles2/pixel_format.c',
'gles2/renderer.c',
'gles2/shaders.c',
'gles2/texture.c',
'swapchain.c',
'wlr_renderer.c',
'wlr_texture.c',
)
subdir('gles2')