From 87293d1b15f539aae59219fa1e1b367bf55382dc Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 15 Jan 2021 22:12:02 +0100 Subject: render: extract gles2 build files to subdir This will make it easier to toggle when we make our GLES2 renderer optional. --- render/gles2/meson.build | 6 ++++++ render/meson.build | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 render/gles2/meson.build diff --git a/render/gles2/meson.build b/render/gles2/meson.build new file mode 100644 index 00000000..d4d62c64 --- /dev/null +++ b/render/gles2/meson.build @@ -0,0 +1,6 @@ +wlr_files += files( + 'pixel_format.c', + 'renderer.c', + 'shaders.c', + 'texture.c', +) diff --git a/render/meson.build b/render/meson.build index f8609ef8..f3e1cd26 100644 --- a/render/meson.build +++ b/render/meson.build @@ -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') -- cgit v1.2.3