Add pacer

This commit is contained in:
Patrick Nicolas
2024-02-16 22:02:57 +01:00
parent c3e2cd0cb8
commit 2cc0e6154e
5 changed files with 189 additions and 47 deletions
+2 -4
View File
@@ -29,8 +29,7 @@
#include <list>
#include <memory>
#include <vector>
struct u_pacing_compositor;
#include "driver/wivrn_pacer.h"
namespace xrt::drivers::wivrn
{
@@ -54,8 +53,7 @@ struct pseudo_swapchain
struct wivrn_comp_target : public comp_target
{
//! Compositor frame pacing helper
u_pacing_compositor * upc{};
wivrn_pacer pacer;
vk_cmd_pool pool;