cleaned up dead code

This commit is contained in:
ykeara
2019-01-08 22:46:30 -06:00
parent 123c38c586
commit b374ff42f5
3 changed files with 74 additions and 303 deletions
+12 -39
View File
@@ -19,12 +19,8 @@ struct SteamVRProfile
bool includesSupersampleFiltering = false;
bool supersampleFiltering = false;
bool motionSmooth = false;
//bool includesReprojectionSettings = false;
//bool asynchronousReprojection = true;
//bool interleavedReprojection = true;
//bool alwaysOnReprojection = true;
bool motionSmooth = false;
bool includesMotionSmoothing = false;
};
class SteamVRTabController : public QObject
@@ -35,21 +31,9 @@ class SteamVRTabController : public QObject
Q_PROPERTY(
float compositorSuperSampling READ compositorSuperSampling WRITE
setCompositorSuperSampling NOTIFY compositorSuperSamplingChanged )
/*
Q_PROPERTY(
bool allowInterleavedReprojection READ allowInterleavedReprojection
WRITE setAllowInterleavedReprojection NOTIFY
allowInterleavedReprojectionChanged )
Q_PROPERTY(
bool allowAsyncReprojection READ allowAsyncReprojection WRITE
setAllowAsyncReprojection NOTIFY allowAsyncReprojectionChanged )
Q_PROPERTY( bool forceReprojection READ forceReprojection WRITE
setForceReprojection NOTIFY forceReprojectionChanged )
*/
Q_PROPERTY(bool motionSmoothing READ motionSmoothing
WRITE setMotionSmoothing NOTIFY
motionSmoothingChanged)
Q_PROPERTY( bool motionSmoothing READ motionSmoothing WRITE
setMotionSmoothing NOTIFY motionSmoothingChanged )
Q_PROPERTY( bool allowSupersampleFiltering READ allowSupersampleFiltering
WRITE setAllowSupersampleFiltering NOTIFY
allowSupersampleFilteringChanged )
@@ -60,13 +44,10 @@ private:
float m_superSampling = 1.0;
float m_compositorSuperSampling = 1.0;
//bool m_allowInterleavedReprojection = true;
//bool m_allowAsyncReprojection = true;
//bool m_forceReprojection = false;
bool m_motionSmoothing = true;
bool m_motionSmoothing = true;
bool m_allowSupersampleFiltering = true;
void initMotionSmoothing();
void initMotionSmoothing();
std::vector<SteamVRProfile> steamvrProfiles;
@@ -80,10 +61,7 @@ public:
float superSampling() const;
float compositorSuperSampling() const;
//bool allowInterleavedReprojection() const;
//bool allowAsyncReprojection() const;
//bool forceReprojection() const;
bool motionSmoothing() const;
bool motionSmoothing() const;
bool allowSupersampleFiltering() const;
void reloadSteamVRProfiles();
@@ -95,15 +73,13 @@ public:
public slots:
void setSuperSampling( float value, bool notify = true );
void setCompositorSuperSampling( float value, bool notify = true );
//void setAllowInterleavedReprojection( bool value, bool notify = true );
//void setAllowAsyncReprojection( bool value, bool notify = true );
//void setForceReprojection( bool value, bool notify = true );
void setMotionSmoothing(bool value, bool notify = true);
void setMotionSmoothing( bool value, bool notify = true );
void setAllowSupersampleFiltering( bool value, bool notify = true );
void addSteamVRProfile( QString name,
bool includeSupersampling,
bool includeSupersampleFiltering);
bool includeSupersampleFiltering,
bool includeMotionSmoothing );
void applySteamVRProfile( unsigned index );
void deleteSteamVRProfile( unsigned index );
@@ -113,14 +89,11 @@ public slots:
signals:
void superSamplingChanged( float value );
void compositorSuperSamplingChanged( float value );
//void allowInterleavedReprojectionChanged( bool value );
//void allowAsyncReprojectionChanged( bool value );
//void forceReprojectionChanged( bool value );
void motionSmoothingChanged(bool value);
void motionSmoothingChanged( bool value );
void allowSupersampleFilteringChanged( bool value );
void steamVRProfilesUpdated();
void steamVRProfileAdded();
void steamVRProfileAdded();
};
} // namespace advsettings