aboutsummaryrefslogtreecommitdiffstats
path: root/Samples/OculusWorldDemo/OculusWorldDemo.h
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/OculusWorldDemo/OculusWorldDemo.h')
-rw-r--r--Samples/OculusWorldDemo/OculusWorldDemo.h10
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