Summary: | Expose the information about attached monitor/display devices | ||
---|---|---|---|
Product: | [JogAmp] Newt | Reporter: | Julien Gouesse <gouessej> |
Component: | core | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | gouessej, petsagouris |
Priority: | P4 | ||
Version: | 1 | ||
Hardware: | All | ||
OS: | all | ||
URL: | http://forum.jogamp.org/How-to-choose-the-primary-screen-with-NEWT-td4025361.html | ||
Type: | --- | SCM Refs: |
6ebf649d1b87944257fe492e0aef842d1b8debc2
|
Workaround: | --- | ||
Bug Depends on: | 721 | ||
Bug Blocks: | 648 | ||
Attachments: | Screenshot of the trouble occurring with TUER (Ardor3D) provided by Jiri Vanek (Red Hat) |
Description
Julien Gouesse
2012-07-01 19:35:20 CEST
Created attachment 359 [details]
Screenshot of the trouble occurring with TUER (Ardor3D) provided by Jiri Vanek (Red Hat)
Maybe this will help identifying monitors. http://stackoverflow.com/questions/6794054/how-to-identify-the-monitor-from-java-swing-application (In reply to comment #2) > Maybe this will help identifying monitors. > http://stackoverflow.com/questions/6794054/how-to-identify-the-monitor-from-java-swing-application I'm not sure AWT is able to return physical screens, it probably handles only virtual screens. In my humble opinion, it's a bit late to modify the public API to support this feature before the release of JOGL 2.0.2 but choosing a physical monitor is really important both in games and in other applications. NEWT really needs it. I'm not sure that this bug should be fixed in the next minor release. As a first step, it would be fine to expose all monitors (virtual and physical) in the unchanged public API. Maybe it wouldn't be enough to fix bugs that really require a way of detecting that the current canvas has been moved to another display. http://jogamp.org/git/?p=jogl.git;a=commit;h=6ebf649d1b87944257fe492e0aef842d1b8debc2 http://jogamp.org/files/screenshots/newt-mmonitor/html/ NEWT API Change ! Fix Bug 600 and Bug 721: Adding support for multiple monitors w/ NEWT - Support for all monitor devices and their available modes - X11: Use RandR 1.3 if available - Retrieve information - Changing a monitor device's mode - Support for dedicated and spannig fullscreen - See <http://jogamp.org/files/screenshots/newt-mmonitor/html/> - TODO: - X11 RandR does _not_ relayout the virtual screen size and neither the CRT's viewport. We may need to relayout them if they were covering a seamless region to achieve same experience! - OSX: No machine to attach a secondary CRT -> TEST! - Tested Manually for Regressions - Linux ARMv6hf (Rasp-Pi/BCM, Panda/X11) - Android (Huawei, Kindle) - Tested Manually and junit: - X11/Linux - NV, ATI-Catalyst w/ 2 CRTs - VBox w/ 4 CRTs - Win/Windows - NV, w/ 2 CRTs - VBox w/ 4 CRTs - X11/OpenIndiana, NV, 1 CRT |