FullScreen Placement for Multi-Monitors (Linux)

What it says on the tin: a place to discuss proposed new features.
Post Reply
dermont
Orc Shaman
Posts: 760
Joined: Thu Dec 09, 2004 2:51 am
x 7

FullScreen Placement for Multi-Monitors (Linux)

Post by dermont » Tue Dec 31, 2013 5:03 am

See attached for implementation.

main.cpp
=========
FullScreen width and height are currently set to width and height of first metamode (2 monitors/NVidia driver) since Ogre currently has no multi monitor support.

monitors.patch
=============
Allows fullscreen monitor edges to be passed to create a fullscreen on a single monitor or span multiple monitors. Requires support for EWMH _NET_WM_FULLSCREEN_MONITORS, tested on gnome/metacity. Does anyone know what the corresponding (EWMH) atom for KDE is?
Allows disabling compositor on fullscreen where EWMH _NET_WM_BYPASS_COMPOSITOR is supported ( not supported in metacity).

The above will allow some control over fullscreen placement in the current setup and allow easier testing when implementing multiple monitor support via RandR.

Edit: Patched and tested against default branch (rev 5981).
Attachments
monitors.tar.gz
(5.83 KiB) Downloaded 88 times
0 x

User avatar
AlexeyKnyshev
Goblin
Posts: 213
Joined: Sat May 26, 2012 10:37 am
Location: Russia

Re: FullScreen Placement for Multi-Monitors (Linux)

Post by AlexeyKnyshev » Wed Jan 08, 2014 10:13 pm

Have u made a pull request? Please, left link to pull request here.

Ty, best regards,
Alexey Knyshev
0 x
Voltage Engine - boost your ogre project with realtime physics and interactive scripting!
OgreBullet & CMake - easy to use bullet physics integration.

dermont
Orc Shaman
Posts: 760
Joined: Thu Dec 09, 2004 2:51 am
x 7

Re: FullScreen Placement for Multi-Monitors (Linux)

Post by dermont » Thu Jan 16, 2014 10:58 am

AlexeyKnyshev wrote:Have u made a pull request? Please, left link to pull request here.

Ty, best regards,
Alexey Knyshev
No haven't made a pull request. Thanks for the advice anyway. It's probably better (even with the gl state cache making things more difficult) to go with my own event/window handling on Linux for fullscreen and multi-monitors.
0 x

Post Reply