classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: primitive fullscreen mode support


From: Robert Schuster
Subject: Re: [cp-patches] FYI: primitive fullscreen mode support
Date: Wed, 06 Apr 2005 00:03:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.6) Gecko/20050403

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

Roman Kennke wrote:
> Hi,
> 
> Am Dienstag, den 05.04.2005, 18:51 +0200 schrieb Robert Schuster:
> 
>>>I'm committing the attached patch that implements a primitive fullscreen
>>>support on a peer independent level. Actually it does only resize and
>>>relocate the fullscreen window. Peers that implement a real
>>>(accelerated) fullscreen mode would override the setFullScreenWindow(),
>>>getFullScreenWindow() and isFullScreenSupported() methods.
>>>
>>
>>Great! You have made GNU Classpath and all its dependent VMs superior by
>>that because Sun's runtime does not FSEM on GNU/Linux.
> 
> 
> Huh? On my box this works. Of course not in real accelerated mode, but
> at least as good as my impl works.
Yeah, you're right I remembered this in a wrong way.
I forgot about this definition: "If isFullScreenSupported false ->
full-screen exclusive mode simulated by resizing window to screensize
and positioning window at (0,0)." Somehow I thought one has to do the
second part manually.

> 
> 
>> (Btw: Is there
>>are *real* fullscreen mode for application in X11 anyway?)
> 
> 
> Sure. VMWare uses DGA, don't know about all those games, but I suppose
> that they also use DGA at some point.
> 
> 
>>>I wonder about the default of isFullScreenSupported in
>>>java.awt.GraphicsDevice returning true. Does that make sense? Should it
>>>be the other way, defaulting to false and requiring Devices that support
>>>fullscreen to override it to return true?
>>
>>I favor changing this to false, too.
> 
> 
> Hmm, I think I'll write a testcase and see how our beloved reference
> behaves.
:)

Btw: Have you thought about this part of the spec:  "When entering FSEM,
if full-screen window is not visible, this method will make it visible.
Window remains visible when returning to windowed mode."

cu
Robert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCUwsyG9cfwmwwEtoRAuVKAKCEqUshnWJlxBfRkbBi7fNv17msPwCggNwR
yWIogmF0LA7emayVPV9BdHA=
=77bb
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]