xserver/present/meson.build
Michel Dänzer b6419359b6 present: Move present_wnmd.c contents to hw/xwayland/xwayland-present.c
This will allow eliminating indirections and making the Xwayland Present
code more efficient and easier to follow.

While this technically changes the Xorg video driver ABI, I don't know
of any drivers using the dropped present_wnmd_* symbols, and I doubt a
Xorg driver could make use of them as is anyway.

(As a bonus, Xorg no longer links any Xwayland specific Present code)

v2:
* Wrap DestroyWindow before initializing Present, so that
  present_destroy_window runs before xwl_present_cleanup. Avoids crash
  due to present_destroy_window calling xwl_present_* functions when
  xwl_present_window was already freed. (Olivier Fourdan)

Acked-by: Olivier Fourdan <ofourdan@redhat.com>
2021-07-09 16:11:22 +02:00

30 lines
592 B
Meson

srcs_present = [
'present.c',
'present_event.c',
'present_execute.c',
'present_fake.c',
'present_fence.c',
'present_notify.c',
'present_request.c',
'present_scmd.c',
'present_screen.c',
'present_vblank.c',
]
hdrs_present = [
'present.h',
'presentext.h',
]
libxserver_present = static_library('libxserver_present',
srcs_present,
include_directories: inc,
dependencies: [
common_dep,
dependency('presentproto', version: '>= 1.2')
],
)
if build_xorg
install_data(hdrs_present, install_dir: xorgsdkdir)
endif