summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-04-26 17:35:58 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-04-26 17:35:58 -0400
commitebb036c3e548db03ea25bd543c000ef2b689160a (patch)
tree0732b48ddb7bee95358a63c77230cd023908d44b
parent31db7925977d4cf928c31f5717ee4ebfdd1f527f (diff)
downloadphoronix-test-suite-upstream-ebb036c3e548db03ea25bd543c000ef2b689160a.tar.gz
phoronix-test-suite-upstream-ebb036c3e548db03ea25bd543c000ef2b689160a.tar.xz
phoronix-test-suite-upstream-ebb036c3e548db03ea25bd543c000ef2b689160a.zip
If a graphics test is run, report anti-aliasing and anisotropic
filtering, if was over-rode by driver. Currently only NVIDIA binary blob supported.
-rw-r--r--pts-core/pts-run-benchmark.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/pts-core/pts-run-benchmark.php b/pts-core/pts-run-benchmark.php
index 25114eb..9f2b177 100644
--- a/pts-core/pts-run-benchmark.php
+++ b/pts-core/pts-run-benchmark.php
@@ -233,7 +233,16 @@ else
if($SAVE_RESULTS)
{
- $test_notes = pts_process_running_string(array("Compiz", "Firefox"));
+ $test_notes = pts_process_running_string(array("Compiz", "Firefox", "Thunderbird"));
+
+ if(defined("TEST_GRAPHICS"))
+ {
+ $aa_level = graphics_antialiasing_level();
+ $af_level = graphics_anisotropic_level();
+
+ if(!empty($aa_level) && !empty($af_level))
+ $test_notes .= " \nAntialiasing: $aa_level Anisotropic Filtering: $af_level.";
+ }
$id = pts_request_new_id();
$RESULTS->setXslBinding("pts-results-viewer.xsl");