render: extract gles2 build files to subdir

This will make it easier to toggle when we make our GLES2 renderer
optional.
master
Simon Ser 4 years ago
parent c73a8cde83
commit 87293d1b15
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

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

@ -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')

Loading…
Cancel
Save