upgrade monado to e9475b13 (#6)
Upgrade monado to [e9475b13](https://gitlab.freedesktop.org/monado/monado/-/commit/e9475b13137db2cca8571576b5381a70fb8180a5) from april. The commit after that, [86262e8b](https://gitlab.freedesktop.org/monado/monado/-/commit/86262e8b4e3ca0497d5846370cf281206cb92635) removed the global command pool utility function which is used by wivrn, so more a refactoring and vulkan knowldege is needed for that. Mainly wanted to do this to make the output metrics to work.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "util/u_debug.h"
|
||||
#include "util/u_system_helpers.h"
|
||||
#include "util/u_trace_marker.h"
|
||||
#include "util/u_builders.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
@@ -31,6 +32,7 @@ extern std::unique_ptr<TCP> tcp;
|
||||
static xrt_result_t
|
||||
wivrn_instance_create_system(struct xrt_instance * xinst,
|
||||
struct xrt_system_devices ** out_xsysd,
|
||||
struct xrt_space_overseer ** out_xspovrs,
|
||||
struct xrt_system_compositor ** out_xsysc)
|
||||
{
|
||||
assert(out_xsysd != NULL);
|
||||
@@ -63,6 +65,10 @@ wivrn_instance_create_system(struct xrt_instance * xinst,
|
||||
*out_xsysd = xsysd;
|
||||
*out_xsysc = xsysc;
|
||||
|
||||
struct xrt_space_overseer * xspovrs = NULL;
|
||||
u_builder_create_space_overseer(xsysd, &xspovrs);
|
||||
*out_xspovrs = xspovrs;
|
||||
|
||||
return xret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user