diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2024-03-12 14:53:01 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-03-18 15:41:18 +0000 |
commit | 863ee2da4d846b4856577c64b800890e3f955378 (patch) | |
tree | 66d328973f6b9d1e868f638eb6128dfeed5a6d59 /hw/xwayland | |
parent | 4eb8684f5248e461be05f379afd7e59a2db9c4bd (diff) |
xwayland/glamor: Make xwl_glamor_has_wl_interfaces() private
It's not used outside of Xwayland GLAMOR code itself, no need to keep it
public.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1386>
Diffstat (limited to 'hw/xwayland')
-rw-r--r-- | hw/xwayland/xwayland-glamor.c | 2 | ||||
-rw-r--r-- | hw/xwayland/xwayland-glamor.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/hw/xwayland/xwayland-glamor.c b/hw/xwayland/xwayland-glamor.c index 95e65af64..23dc429c8 100644 --- a/hw/xwayland/xwayland-glamor.c +++ b/hw/xwayland/xwayland-glamor.c @@ -113,7 +113,7 @@ xwl_glamor_init_wl_registry(struct xwl_screen *xwl_screen, xwl_screen_set_dmabuf_interface(xwl_screen, id, version); } -Bool +static Bool xwl_glamor_has_wl_interfaces(struct xwl_screen *xwl_screen, struct xwl_egl_backend *xwl_egl_backend) { diff --git a/hw/xwayland/xwayland-glamor.h b/hw/xwayland/xwayland-glamor.h index cf6e332eb..d9a168447 100644 --- a/hw/xwayland/xwayland-glamor.h +++ b/hw/xwayland/xwayland-glamor.h @@ -130,8 +130,6 @@ void xwl_glamor_init_wl_registry(struct xwl_screen *xwl_screen, struct wl_registry *registry, uint32_t id, const char *interface, uint32_t version); -Bool xwl_glamor_has_wl_interfaces(struct xwl_screen *xwl_screen, - struct xwl_egl_backend *xwl_egl_backend); void xwl_glamor_egl_make_current(struct xwl_screen *xwl_screen); Bool xwl_glamor_needs_buffer_flush(struct xwl_screen *xwl_screen); Bool xwl_glamor_needs_n_buffering(struct xwl_screen *xwl_screen); |