xwayland: Move GLAMOR declarations to their own header

Graphics / X.Org / X.Org Server - Olivier Fourdan [redhat.com] - 20 December 2019 15:19 EST

Currently, `xwayland.h` contains all the declarations, which is a bit awkward and hard to follow.

Move the GLAMOR relevant declarations to their own header file.

3a59650ba xwayland: Move GLAMOR declarations to their own header
hw/xwayland/Makefile.am | 1 +
hw/xwayland/meson.build | 1 +
hw/xwayland/xwayland-glamor-eglstream.c | 11 ++-
hw/xwayland/xwayland-glamor-gbm.c | 8 +-
hw/xwayland/xwayland-glamor-xv.c | 6 +-
hw/xwayland/xwayland-glamor.c | 7 +-
hw/xwayland/xwayland-glamor.h | 134 ++++++++++++++++++++++++++++++++
hw/xwayland/xwayland.c | 2 +
hw/xwayland/xwayland.h | 97 +----------------------
9 files changed, 164 insertions(+), 103 deletions(-)

Upstream: cgit.freedesktop.org


  • Share