|
Blender
V2.93
|
#include <algorithm>#include <cassert>#include <chrono>#include <cstdio>#include <list>#include <sstream>#include "GHOST_C-api.h"#include "GHOST_IXrGraphicsBinding.h"#include "GHOST_XrContext.h"#include "GHOST_XrException.h"#include "GHOST_XrSwapchain.h"#include "GHOST_Xr_intern.h"#include "GHOST_XrSession.h"Go to the source code of this file.
Classes | |
| struct | OpenXRSessionData |
| struct | GHOST_XrDrawInfo |
Functions | |
State Management | |
| static void | create_reference_spaces (OpenXRSessionData &oxr, const GHOST_XrPose &base_pose) |
Drawing | |
| static void | print_debug_timings (GHOST_XrDrawInfo &draw_info) |
| static void | copy_openxr_pose_to_ghost_pose (const XrPosef &oxr_pose, GHOST_XrPose &r_ghost_pose) |
| static void | ghost_xr_draw_view_info_from_view (const XrView &view, GHOST_XrDrawViewInfo &r_info) |
|
static |
Definition at line 355 of file GHOST_XrSession.cpp.
Referenced by ghost_xr_draw_view_info_from_view().
|
static |
Definition at line 116 of file GHOST_XrSession.cpp.
References CHECK_XR, OpenXRSessionData::reference_space, OpenXRSessionData::session, and OpenXRSessionData::view_space.
Referenced by GHOST_XrSession::start().
|
static |
Definition at line 367 of file GHOST_XrSession.cpp.
References copy_openxr_pose_to_ghost_pose(), and view.
|
static |
Render time of last 8 frames (in ms) to calculate an average.
Definition at line 298 of file GHOST_XrSession.cpp.
References GHOST_XrDrawInfo::frame_begin_time, and GHOST_XrDrawInfo::last_frame_times.