You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
OpenXR: Add profiling macro for process, xrWaitFrame() and acquiring swapchain
This commit is contained in:
@@ -4759,9 +4759,11 @@ bool Main::iteration() {
|
||||
|
||||
// process all our active interfaces
|
||||
#ifndef XR_DISABLED
|
||||
GodotProfileZoneGrouped(_profile_zone, "xr_server->_process");
|
||||
XRServer::get_singleton()->_process();
|
||||
#endif // XR_DISABLED
|
||||
|
||||
GodotProfileZoneGrouped(_profile_zone, "physics");
|
||||
for (int iters = 0; iters < advance.physics_steps; ++iters) {
|
||||
GodotProfileZone("Physics Step");
|
||||
GodotProfileZoneGroupedFirst(_physics_zone, "setup");
|
||||
|
||||
Reference in New Issue
Block a user