diff options
author | Simon Ser <contact@emersion.fr> | 2021-04-19 17:32:07 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-04-19 17:32:07 +0200 |
commit | 83670fce65edc76127bf9595a2f993eaa80a3d59 (patch) | |
tree | 9cab65b2477761dabe5ef44c9883d2d2f834f5a7 /examples/meson.build | |
parent | fd7e565ce3ea463b725fcd5b4291411f030a4e2c (diff) |
examples: remove dependency on GLES2 for compositor examples
Most of the examples had a GLES2 dependency, but weren't using it.
Convert multi-pointer to wlr_renderer instead of using directly
glClear.
Diffstat (limited to 'examples/meson.build')
-rw-r--r-- | examples/meson.build | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/examples/meson.build b/examples/meson.build index 704c5183..0fee7d92 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -23,11 +23,6 @@ if libavutil.found() and not cc.has_header('libavutil/hwcontext_drm.h', dependen libavutil = disabler() endif -wlr_gles2_renderer = [] -if not features['gles2-renderer'] - wlr_gles2_renderer = disabler() -endif - compositors = { 'simple': { 'src': 'simple.c', @@ -37,23 +32,18 @@ compositors = { }, 'touch': { 'src': ['touch.c', 'cat.c'], - 'dep': [wlr_gles2_renderer], }, 'tablet': { 'src': 'tablet.c', - 'dep': [wlr_gles2_renderer], }, 'rotation': { 'src': ['rotation.c', 'cat.c'], - 'dep': [wlr_gles2_renderer], }, 'multi-pointer': { 'src': 'multi-pointer.c', - 'dep': [wlr_gles2_renderer], }, 'output-layout': { 'src': ['output-layout.c', 'cat.c'], - 'dep': [wlr_gles2_renderer], }, 'fullscreen-shell': { 'src': 'fullscreen-shell.c', @@ -203,7 +193,7 @@ foreach name, info : compositors executable( name, [info.get('src'), extra_src], - dependencies: [wlroots, libdrm, info.get('dep', [])], + dependencies: [wlroots, libdrm], include_directories: [wlr_inc, proto_inc], build_by_default: get_option('examples'), ) |