diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 187: Benchmark: Add method to get the associated scene without setting it up.

Message ID 20120117154613.4137.30143.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org Jan. 17, 2012, 3:46 p.m. UTC
------------------------------------------------------------
revno: 187
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
branch nick: trunk
timestamp: Tue 2012-01-17 17:41:29 +0200
message:
  Benchmark: Add method to get the associated scene without setting it up.
modified:
  src/benchmark.h


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'src/benchmark.h'
--- src/benchmark.h	2011-11-08 22:01:16 +0000
+++ src/benchmark.h	2012-01-17 15:41:29 +0000
@@ -69,6 +69,16 @@ 
     Benchmark(const std::string &s);
 
     /**
+     * Gets the Scene associated with the benchmark.
+     *
+     * This method doesn't prepare the scene for a run.
+     * (See ::setup_scene())
+     *
+     * @return the Scene
+     */
+    Scene &scene() const { return scene_; }
+
+    /**
      * Sets up the Scene associated with the benchmark.
      *
      * @return the Scene