mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 17:30:02 +01:00
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>
30 lines
592 B
Meson
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
|