examples: remove dependency on wlr_egl from clients

The specified clients in this commit used to rely on wlr_egl and
some of its related functions in order to render surfaces.

This is no longer the case as of this commit.
This commit is contained in:
Brandon Dowdy 2021-01-28 23:13:53 +00:00 committed by Simon Ser
parent 50b9921642
commit 34e7f69d69
11 changed files with 212 additions and 66 deletions

View file

@ -54,7 +54,7 @@ clients = {
'proto': ['kde-idle'],
},
'idle-inhibit': {
'src': 'idle-inhibit.c',
'src': ['idle-inhibit.c', 'egl_common.c'],
'dep': [wayland_egl, wlroots],
'proto': [
'idle-inhibit-unstable-v1',
@ -62,7 +62,7 @@ clients = {
],
},
'keyboard-shortcuts-inhibit': {
'src': 'keyboard-shortcuts-inhibit.c',
'src': ['keyboard-shortcuts-inhibit.c', 'egl_common.c'],
'dep': [wayland_egl, wayland_cursor, wlroots],
'proto': [
'keyboard-shortcuts-inhibit-unstable-v1',
@ -70,7 +70,7 @@ clients = {
],
},
'layer-shell': {
'src': 'layer-shell.c',
'src': ['layer-shell.c', 'egl_common.c'],
'dep': [wayland_egl, wayland_cursor, wlroots],
'proto': [
'wlr-layer-shell-unstable-v1',
@ -78,7 +78,7 @@ clients = {
],
},
'input-inhibitor': {
'src': 'input-inhibitor.c',
'src': ['input-inhibitor.c', 'egl_common.c'],
'dep': [wayland_egl, wayland_cursor, wlroots],
'proto': [
'wlr-input-inhibitor-unstable-v1',
@ -96,7 +96,7 @@ clients = {
'proto': ['wlr-output-power-management-unstable-v1'],
},
'pointer-constraints': {
'src': 'pointer-constraints.c',
'src': ['pointer-constraints.c', 'egl_common.c'],
'dep': [wayland_egl, wlroots],
'proto': [
'pointer-constraints-unstable-v1',
@ -104,7 +104,7 @@ clients = {
],
},
'relative-pointer': {
'src': 'relative-pointer-unstable-v1.c',
'src': ['relative-pointer-unstable-v1.c', 'egl_common.c'],
'dep': [wayland_egl, wlroots],
'proto': [
'pointer-constraints-unstable-v1',
@ -137,7 +137,7 @@ clients = {
],
},
'toplevel-decoration': {
'src': 'toplevel-decoration.c',
'src': ['toplevel-decoration.c', 'egl_common.c'],
'dep': [wayland_egl, wlroots],
'proto': [
'xdg-decoration-unstable-v1',
@ -154,7 +154,7 @@ clients = {
],
},
'text-input': {
'src': 'text-input.c',
'src': ['text-input.c', 'egl_common.c'],
'dep': [wayland_egl, wayland_cursor, wlroots],
'proto': [
'text-input-unstable-v3',