Login  Register

Re: Fullscreen on secondary monitor

Posted by Sven Gothel on Oct 14, 2014; 1:03am
URL: https://forum.jogamp.org/Fullscreen-on-secondary-monitor-tp4032833p4033336.html

On 10/13/2014 10:23 AM, elect [via jogamp] wrote:
>     Sven Gothel wrote
>     we surely speak a different language, cannot grok your statement.
>
>     maybe you _read_ the demo then :)
>
> Anyway, since I couldnt run them, I did read them, that's why I found the
> addReference() missing..

please don't also miss the removeReference()
.. or use createNative() (sic - i.e. might be spelled different, see Screen
API - compare unit tests).

>
> I can have the fullscreen on the i-th monitor I want :)

great!

>
> Just few considerations:
>
> - the keyListener doesnt work anymore now at fullscreen, but I will
> investigate something more on this, maybe it is my fault

dunno about that, unit tests work in this regards.

>
> - addReference() takes a lot of time, more than 10s, is it normal?

no, our unit tests are much faster.

also, these 10s would appear also if you natively realize a NEWT GLWindow
or the like via setVisible(..).

~Sven


signature.asc (828 bytes) Download Attachment