diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-02-12 15:19:27 +0100 |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-02-15 13:41:03 +0100 |
commit | 57e94c1b1bf68fde430cecc138f395decf35e917 (patch) | |
tree | d3bc163d1bd58b23f687ddf26d43b22784f41786 /tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/widgets/settings.h | |
parent | 7fc8fdc43e8f898908f2e8fc60f3c22b0cd47db7 (diff) |
Add support for running the GraphicsViewBenchmark application manually.
Also add support for the command line options that were supported in the
old benchmark (see 2f389a95f5b9e4c7130aa333586d803b639bf259).
Diffstat (limited to 'tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/widgets/settings.h')
-rw-r--r-- | tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/widgets/settings.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/widgets/settings.h b/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/widgets/settings.h index 8473bf5944..57ad970b56 100644 --- a/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/widgets/settings.h +++ b/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/widgets/settings.h @@ -51,11 +51,12 @@ class Settings : public QObject { public: enum Option { - NoOptions = 0x0, + NoOptions = 0x1, UseListItemCache = 0x2, UseOpenGL = 0x4, - OutputFps = 0x5, - NoResourceUsage = 0x6, + OutputFps = 0x8, + NoResourceUsage = 0x10, + ManualTest = 0x20 }; Q_DECLARE_FLAGS(Options, Option) |