|
Blender V4.3
|
#include <algorithm>#include <cassert>#include <chrono>#include <cstdio>#include <list>#include <sstream>#include "GHOST_C-api.h"#include "GHOST_IXrGraphicsBinding.hh"#include "GHOST_XrAction.hh"#include "GHOST_XrContext.hh"#include "GHOST_XrControllerModel.hh"#include "GHOST_XrException.hh"#include "GHOST_XrSwapchain.hh"#include "GHOST_Xr_intern.hh"#include "GHOST_XrSession.hh"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, bool isDebugMode) |
Drawing | |
| static void | print_debug_timings (GHOST_XrDrawInfo &draw_info) |
| static void | ghost_xr_draw_view_info_from_view (const XrView &view, GHOST_XrDrawViewInfo &r_info) |
Actions | |
| static GHOST_XrActionSet * | find_action_set (OpenXRSessionData *oxr, const char *action_set_name) |
Meta Quest Passthrough | |
| static PFN_xrCreatePassthroughFB | g_xrCreatePassthroughFB = nullptr |
| static PFN_xrCreatePassthroughLayerFB | g_xrCreatePassthroughLayerFB = nullptr |
| static PFN_xrPassthroughStartFB | g_xrPassthroughStartFB = nullptr |
| static PFN_xrPassthroughLayerResumeFB | g_xrPassthroughLayerResumeFB = nullptr |
| static void | init_passthrough_extension_functions (XrInstance instance) |
|
static |
Definition at line 125 of file GHOST_XrSession.cc.
References CHECK_XR, OpenXRSessionData::combined_eye_space, OpenXRSessionData::foveation_supported, printf, OpenXRSessionData::reference_space, OpenXRSessionData::session, and OpenXRSessionData::view_space.
Referenced by GHOST_XrSession::start().
|
static |
Definition at line 642 of file GHOST_XrSession.cc.
References OpenXRSessionData::action_sets.
Referenced by GHOST_XrSession::applyHapticAction(), GHOST_XrSession::createActionBindings(), GHOST_XrSession::createActions(), GHOST_XrSession::destroyActionBindings(), GHOST_XrSession::destroyActions(), GHOST_XrSession::getActionCount(), GHOST_XrSession::getActionCustomdata(), GHOST_XrSession::getActionCustomdataArray(), GHOST_XrSession::getActionSetCustomdata(), GHOST_XrSession::stopHapticAction(), and GHOST_XrSession::syncActions().
|
static |
Definition at line 484 of file GHOST_XrSession.cc.
References copy_openxr_pose_to_ghost_pose().
|
static |
Definition at line 1014 of file GHOST_XrSession.cc.
References g_xrCreatePassthroughFB, g_xrCreatePassthroughLayerFB, g_xrPassthroughLayerResumeFB, g_xrPassthroughStartFB, and INIT_EXTENSION_FUNCTION.
|
static |
Render time of last 8 frames (in ms) to calculate an average.
Definition at line 414 of file GHOST_XrSession.cc.
References GHOST_XrDrawInfo::frame_begin_time, GHOST_XrDrawInfo::last_frame_times, and printf.
|
static |
Definition at line 1009 of file GHOST_XrSession.cc.
Referenced by init_passthrough_extension_functions().
|
static |
Definition at line 1010 of file GHOST_XrSession.cc.
Referenced by init_passthrough_extension_functions().
|
static |
Definition at line 1012 of file GHOST_XrSession.cc.
Referenced by init_passthrough_extension_functions().
|
static |
Definition at line 1011 of file GHOST_XrSession.cc.
Referenced by init_passthrough_extension_functions().