Add an option to enable performance queries in gameini files, disable it by default

This commit is contained in:
Pierre Bourdon 2013-08-11 17:08:12 +02:00
commit 26f58e1ba5
4 changed files with 12 additions and 1 deletions

View file

@ -25,9 +25,12 @@ enum PerfQueryGroup
class PerfQueryBase
{
public:
PerfQueryBase() {};
PerfQueryBase() {}
virtual ~PerfQueryBase() {}
// Checks if performance queries are enabled in the gameini configuration.
bool ShouldEmulate() const;
// Begin querying the specified value for the following host GPU commands
virtual void EnableQuery(PerfQueryGroup type) {}