diff options
author | Simon Ser <contact@emersion.fr> | 2021-01-15 22:12:02 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-15 22:13:04 +0100 |
commit | 87293d1b15f539aae59219fa1e1b367bf55382dc (patch) | |
tree | 59db3722dea368c0cb9025977176621ba1937b4a | |
parent | c73a8cde832d9fa1e51156f895bf7344bdc0e3e8 (diff) |
render: extract gles2 build files to subdir
This will make it easier to toggle when we make our GLES2 renderer
optional.
-rw-r--r-- | render/gles2/meson.build | 6 | ||||
-rw-r--r-- | render/meson.build | 6 |
2 files changed, 8 insertions, 4 deletions
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') |