[client] wayland: measure presentation time

This commit is contained in:
Quantum
2021-05-13 22:51:45 -04:00
committed by Geoffrey McRae
parent 6da9428d85
commit e87bc3a83e
6 changed files with 133 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ add_library(displayserver_Wayland STATIC
input.c
output.c
poll.c
presentation.c
state.c
registry.c
wayland.c
@@ -74,6 +75,9 @@ include_directories("${CMAKE_BINARY_DIR}/wayland")
wayland_generate(
"${WAYLAND_PROTOCOLS_BASE}/stable/xdg-shell/xdg-shell.xml"
"${CMAKE_BINARY_DIR}/wayland/wayland-xdg-shell-client-protocol")
wayland_generate(
"${WAYLAND_PROTOCOLS_BASE}/stable/presentation-time/presentation-time.xml"
"${CMAKE_BINARY_DIR}/wayland/wayland-presentation-time-client-protocol")
wayland_generate(
"${WAYLAND_PROTOCOLS_BASE}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml"
"${CMAKE_BINARY_DIR}/wayland/wayland-xdg-decoration-unstable-v1-client-protocol")
@@ -89,4 +93,3 @@ wayland_generate(
wayland_generate(
"${WAYLAND_PROTOCOLS_BASE}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml"
"${CMAKE_BINARY_DIR}/wayland/wayland-idle-inhibit-unstable-v1-client-protocol")