diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 53: Change score scaling to produce the average for each test.

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

Commit Message

Alexandros Frantzis July 21, 2011, 12:36 p.m. UTC
------------------------------------------------------------
revno: 53
committer: Alexandros Frantzis <alf82@freemail.gr>
timestamp: Thu 2010-07-15 11:59:36 +0300
message:
  Change score scaling to produce the average for each test.
modified:
  src/scenebuild.cpp
  src/sceneshading.cpp
  src/scenetexture.cpp


--
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/scenebuild.cpp'
--- src/scenebuild.cpp	2010-07-13 10:22:05 +0000
+++ src/scenebuild.cpp	2010-07-15 08:59:36 +0000
@@ -51,8 +51,8 @@ 
     mAverageFPS = new unsigned[mPartsQty];
     mScoreScale = new float[mPartsQty];
 
-    mScoreScale[0] = 1.898f;
-    mScoreScale[1] = 0.540f;
+    mScoreScale[0] = 1.0f / mPartsQty;
+    mScoreScale[1] = 1.0f / mPartsQty;
 
     mPartDuration[0] = 10.0;
     mPartDuration[1] = 10.0;

=== modified file 'src/sceneshading.cpp'
--- src/sceneshading.cpp	2010-07-13 10:22:05 +0000
+++ src/sceneshading.cpp	2010-07-15 08:59:36 +0000
@@ -54,8 +54,8 @@ 
     mAverageFPS = new unsigned[mPartsQty];
     mScoreScale = new float[mPartsQty];
 
-    mScoreScale[0] = 0.534f;
-    mScoreScale[1] = 0.532f;
+    mScoreScale[0] = 1.0f / mPartsQty;
+    mScoreScale[1] = 1.0f / mPartsQty;
     
     mPartDuration[0] = 10.0;
     mPartDuration[1] = 10.0;

=== modified file 'src/scenetexture.cpp'
--- src/scenetexture.cpp	2010-07-13 10:22:05 +0000
+++ src/scenetexture.cpp	2010-07-15 08:59:36 +0000
@@ -55,9 +55,9 @@ 
     mAverageFPS = new unsigned[mPartsQty];
     mScoreScale = new float[mPartsQty];
 
-    mScoreScale[0] = 0.471f;
-    mScoreScale[1] = 0.533f;
-    mScoreScale[2] = 0.405f;
+    mScoreScale[0] = 1.0f / mPartsQty;
+    mScoreScale[1] = 1.0f / mPartsQty;
+    mScoreScale[2] = 1.0f / mPartsQty;
 
     mPartDuration[0] = 10.0;
     mPartDuration[1] = 10.0;