diff mbox

[Branch,~glcompbench-dev/glcompbench/trunk] Rev 42: Document CompositeTest options.

Message ID 20110624162135.19375.29178.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org June 24, 2011, 4:21 p.m. UTC
------------------------------------------------------------
revno: 42
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
branch nick: trunk
timestamp: Fri 2011-06-24 19:02:39 +0300
message:
  Document CompositeTest options.
modified:
  src/composite-test-simple-base.cc
  src/composite-test.cc


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

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

Patch

=== modified file 'src/composite-test-simple-base.cc'
--- src/composite-test-simple-base.cc	2011-06-23 13:32:36 +0000
+++ src/composite-test-simple-base.cc	2011-06-24 16:02:39 +0000
@@ -40,7 +40,8 @@ 
     : CompositeTest(test_name), vs_filename_(vs_filename),
       fs_filename_(fs_filename)
 {
-    options_["use-vbo"] = CompositeTest::Option("use-vbo", "true", "");
+    options_["use-vbo"] = CompositeTest::Option("use-vbo", "true",
+                                                "Whether to use VBOs for rendering [true,false]");
 }
 
 void

=== modified file 'src/composite-test.cc'
--- src/composite-test.cc	2011-06-23 13:52:16 +0000
+++ src/composite-test.cc	2011-06-24 16:02:39 +0000
@@ -31,8 +31,10 @@ 
 CompositeTest::CompositeTest(const string& test_name) :
     name_(test_name)
 {
-    options_["duration"] = CompositeTest::Option("duration", "3.0", "");
-    options_["iterations"] = CompositeTest::Option("iterations", "5", "");
+    options_["duration"] = CompositeTest::Option("duration", "3.0",
+                                                 "The duration of each iteration in seconds");
+    options_["iterations"] = CompositeTest::Option("iterations", "5",
+                                                   "The number of iterations run for this test");
 }
 
 /**