summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_graphics.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-08-09 08:50:04 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-09 08:50:04 -0400
commit69de31a5810d27789dc6ba42c227247d5dc4b785 (patch)
tree63b357fd85ef703c8f131e298029bd8272be3bcb /pts-core/functions/pts-functions_system_graphics.php
parent9026755fee398f145d0b23b1a531df25420eed54 (diff)
downloadphoronix-test-suite-upstream-69de31a5810d27789dc6ba42c227247d5dc4b785.tar.gz
phoronix-test-suite-upstream-69de31a5810d27789dc6ba42c227247d5dc4b785.tar.xz
phoronix-test-suite-upstream-69de31a5810d27789dc6ba42c227247d5dc4b785.zip
pts-core: Add in infrastructure for detecting multi-monitor support. Set
$VIDEO_MONITOR_COUNT for number of monitors, $VIDEO_MONITOR_LAYOUT for the physical layout of multiple monitors, and $VIDEO_MONITOR_SIZES for the resolution of each monitor in a multi-monitor configuration.
Diffstat (limited to 'pts-core/functions/pts-functions_system_graphics.php')
-rw-r--r--pts-core/functions/pts-functions_system_graphics.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_system_graphics.php b/pts-core/functions/pts-functions_system_graphics.php
index 30c08f9..af354a9 100644
--- a/pts-core/functions/pts-functions_system_graphics.php
+++ b/pts-core/functions/pts-functions_system_graphics.php
@@ -76,6 +76,18 @@ function graphics_monitor_count()
return $monitor_count;
}
+function graphics_monitor_layout()
+{
+ $layout = array("CENTER");
+
+ return implode(",", $layout);
+}
+function graphics_monitor_resolutions()
+{
+ $resolutions = array(current_screen_resolution());
+
+ return implode(",", $resolutions);
+}
function graphics_antialiasing_level()
{
$aa_level = "";