~glmark2-dev/glmark2/canvas-drm-rebranch

« back to all changes in this revision

Viewing changes to src/main-loop.h

  • Committer: Alexandros Frantzis
  • Date: 2012-08-16 17:53:31 UTC
  • mfrom: (246.1.2 ignore-failed-test-scores)
  • Revision ID: alexandros.frantzis@linaro.org-20120816175331-tbebs3ogqf7uvu1t
MainLoop,Android: Exclude from score calculations benchmarks that weren't set up correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
    virtual void log_scene_result();
85
85
 
86
86
protected:
 
87
    enum SceneSetupStatus {
 
88
        SceneSetupStatusUnknown,
 
89
        SceneSetupStatusSuccess,
 
90
        SceneSetupStatusFailure,
 
91
        SceneSetupStatusUnsupported
 
92
    };
87
93
    void next_benchmark();
88
94
    Canvas &canvas_;
89
95
    Scene *scene_;
90
96
    const std::vector<Benchmark *> &benchmarks_;
91
97
    unsigned int score_;
92
98
    unsigned int benchmarks_run_;
 
99
    SceneSetupStatus scene_setup_status_;
93
100
 
94
101
    std::vector<Benchmark *>::const_iterator bench_iter_;
95
102
};