diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-09 08:50:04 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-09 08:50:04 -0400 |
commit | 69de31a5810d27789dc6ba42c227247d5dc4b785 (patch) | |
tree | 63b357fd85ef703c8f131e298029bd8272be3bcb /pts-core/functions/pts-functions_system_graphics.php | |
parent | 9026755fee398f145d0b23b1a531df25420eed54 (diff) | |
download | phoronix-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.php | 12 |
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 = ""; |