diff options
author | Brad Davis <[email protected]> | 2014-09-04 14:32:18 -0700 |
---|---|---|
committer | Brad Davis <[email protected]> | 2014-09-04 14:32:18 -0700 |
commit | 32dc394487af8e4fb1b43fb852f1d5448eaf7f31 (patch) | |
tree | be53f49e96e8e2bba1dada04197cf508b60b4eaf /Samples/OculusWorldDemo/OculusWorldDemo.h | |
parent | 85d370840fa4d49a63331a203460fe763288d417 (diff) |
Updating to windows 0.4.2
Diffstat (limited to 'Samples/OculusWorldDemo/OculusWorldDemo.h')
-rw-r--r-- | Samples/OculusWorldDemo/OculusWorldDemo.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Samples/OculusWorldDemo/OculusWorldDemo.h b/Samples/OculusWorldDemo/OculusWorldDemo.h index 86f68b0..54a6936 100644 --- a/Samples/OculusWorldDemo/OculusWorldDemo.h +++ b/Samples/OculusWorldDemo/OculusWorldDemo.h @@ -136,7 +136,7 @@ public: bool FrameNeedsRendering(double curtime); void ApplyDynamicResolutionScaling(); void UpdateFrameRateCounter(double curtime); - + void UpdateVisionProcessingTime(const ovrTrackingState& trackState); // Model creation and misc functions. Model* CreateModel(Vector3f pos, struct SlabModel* sm); @@ -172,9 +172,14 @@ protected: Sizei WindowSize; int ScreenNumber; int FirstScreenInCycle; - bool SupportsSrgb; + // Last vision processing statistics + double LastVisionProcessingTime; + int VisionTimesCount; + double VisionProcessingSum; + double VisionProcessingAverage; + struct RenderTarget { Ptr<Texture> pTex; @@ -285,6 +290,7 @@ protected: bool DisplaySleep; bool PositionTrackingEnabled; bool PixelLuminanceOverdrive; + bool HqAaDistortion; bool MirrorToWindow; // Support toggling background color for distortion so that we can see |