Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Util_Render_Stereo.h File Reference
#include "../OVR_Stereo.h"
Include dependency graph for Util_Render_Stereo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  OVR::Util::Render::ViewportScaleAndOffset
 
struct  OVR::Util::Render::StereoEyeParamsWithOrtho
 
struct  OVR::Util::Render::ViewportScaleAndOffsetBothEyes
 
class  OVR::Util::Render::StereoConfig
 
struct  OVR::Util::Render::DistortionMeshVertexData
 
struct  OVR::Util::Render::HeightmapMeshVertexData
 
struct  OVR::Util::Render::PredictionValues
 
class  OVR::Util::Render::TimewarpMachine
 

Namespaces

 OVR
 
 OVR::Util
 
 OVR::Util::Render
 

Functions

char const * OVR::Util::Render::GetDebugNameEyeCupType (EyeCupType eyeCupType)
 
char const * OVR::Util::Render::GetDebugNameHmdType (HmdTypeEnum hmdType)
 
Sizei OVR::Util::Render::CalculateRecommendedTextureSize (HmdRenderInfo const &hmd, bool bRendertargetSharedByBothEyes, float pixelDensityInCenter)
 
FovPort OVR::Util::Render::CalculateRecommendedFov (HmdRenderInfo const &hmd, StereoEye eyeType, bool bMakeFovSymmetrical)
 
StereoEyeParams OVR::Util::Render::CalculateStereoEyeParams (HmdRenderInfo const &hmd, StereoEye eyeType, Sizei const &actualRendertargetSurfaceSize, bool bRendertargetSharedByBothEyes, bool bRightHanded, float zNear, float zFar, Sizei const *pOverrideRenderedPixelSize, FovPort const *pOverrideFovport, float zoomFactor)
 
Vector3f OVR::Util::Render::CalculateEyeVirtualCameraOffset (HmdRenderInfo const &hmd, StereoEye eyeType, bool bmonoRenderingMode)
 
ViewportScaleAndOffset OVR::Util::Render::ModifyRenderViewport (StereoEyeParams const &params, Sizei const &actualRendertargetSurfaceSize, Recti const &renderViewport)
 
ViewportScaleAndOffset OVR::Util::Render::ModifyRenderSize (StereoEyeParams const &params, Sizei const &actualRendertargetSurfaceSize, Sizei const &requestedRenderSize, bool bRendertargetSharedByBothEyes)
 
ViewportScaleAndOffset OVR::Util::Render::ModifyRenderDensity (StereoEyeParams const &params, Sizei const &actualRendertargetSurfaceSize, float pixelDensity, bool bRendertargetSharedByBothEyes)
 
void OVR::Util::Render::DistortionMeshCreate (DistortionMeshVertexData **ppVertices, UInt16 **ppTriangleListIndices, int *pNumVertices, int *pNumTriangles, const StereoEyeParams &stereoParams, const HmdRenderInfo &hmdRenderInfo)
 
void OVR::Util::Render::DistortionMeshCreate (DistortionMeshVertexData **ppVertices, UInt16 **ppTriangleListIndices, int *pNumVertices, int *pNumTriangles, bool rightEye, const HmdRenderInfo &hmdRenderInfo, const DistortionRenderDesc &distortion, const ScaleAndOffset2D &eyeToSourceNDC)
 
void OVR::Util::Render::DistortionMeshDestroy (DistortionMeshVertexData *pVertices, UInt16 *pTriangleMeshIndices)
 
void OVR::Util::Render::HeightmapMeshCreate (HeightmapMeshVertexData **ppVertices, UInt16 **ppTriangleListIndices, int *pNumVertices, int *pNumTriangles, const StereoEyeParams &stereoParams, const HmdRenderInfo &hmdRenderInfo)
 
void OVR::Util::Render::HeightmapMeshCreate (HeightmapMeshVertexData **ppVertices, UInt16 **ppTriangleListIndices, int *pNumVertices, int *pNumTriangles, bool rightEye, const HmdRenderInfo &hmdRenderInfo, const ScaleAndOffset2D &eyeToSourceNDC)
 
void OVR::Util::Render::HeightmapMeshDestroy (HeightmapMeshVertexData *pVertices, UInt16 *pTriangleMeshIndices)
 
PredictionValues OVR::Util::Render::PredictionGetDeviceValues (const HmdRenderInfo &hmdRenderInfo, bool withTimewarp, bool withVsync)
 
Matrix4f OVR::Util::Render::TimewarpComputePoseDelta (Matrix4f const &renderedViewFromWorld, Matrix4f const &predictedViewFromWorld, Matrix4f const &eyeViewAdjust)
 
Matrix4f OVR::Util::Render::TimewarpComputePoseDeltaPosition (Matrix4f const &renderedViewFromWorld, Matrix4f const &predictedViewFromWorld, Matrix4f const &eyeViewAdjust)
 

Data Structure Documentation

struct OVR::Util::Render::ViewportScaleAndOffset

Definition at line 78 of file Util_Render_Stereo.h.

Collaboration diagram for OVR::Util::Render::ViewportScaleAndOffset:
Collaboration graph
Data Fields
ScaleAndOffset2D EyeToSourceUV
Recti RenderedViewport
struct OVR::Util::Render::StereoEyeParamsWithOrtho

Definition at line 119 of file Util_Render_Stereo.h.

Collaboration diagram for OVR::Util::Render::StereoEyeParamsWithOrtho:
Collaboration graph
Data Fields
Matrix4f OrthoProjection
StereoEyeParams StereoEye
struct OVR::Util::Render::ViewportScaleAndOffsetBothEyes

Definition at line 125 of file Util_Render_Stereo.h.

Collaboration diagram for OVR::Util::Render::ViewportScaleAndOffsetBothEyes:
Collaboration graph
Data Fields
ViewportScaleAndOffset Left
ViewportScaleAndOffset Right
struct OVR::Util::Render::DistortionMeshVertexData

Definition at line 320 of file Util_Render_Stereo.h.

Collaboration diagram for OVR::Util::Render::DistortionMeshVertexData:
Collaboration graph
Data Fields
Vector2f ScreenPosNDC
float Shade
Vector2f TanEyeAnglesB
Vector2f TanEyeAnglesG
Vector2f TanEyeAnglesR
float TimewarpLerp
struct OVR::Util::Render::HeightmapMeshVertexData

Definition at line 358 of file Util_Render_Stereo.h.

Collaboration diagram for OVR::Util::Render::HeightmapMeshVertexData:
Collaboration graph
Data Fields
Vector2f ScreenPosNDC
Vector2f TanEyeAngles
float TimewarpLerp
struct OVR::Util::Render::PredictionValues

Definition at line 389 of file Util_Render_Stereo.h.

Collaboration diagram for OVR::Util::Render::PredictionValues:
Collaboration graph
Data Fields
float PresentFlushToPresentFlush
float PresentFlushToRenderedScene
float PresentFlushToTimewarpEnd
float PresentFlushToTimewarpStart
bool WithTimewarp
bool WithVsync