Hi Mik,
On Mon, Jan 16, 2006 at 09:46:23AM +0100, Michele Puccini wrote:
> Hello everybody,
>
> I've done some experiments with both FullScreen exclusive mode and
> BufferStrategy and I have some questions (win32):
>
> 1) Imagine a dual monitor application, the main monitor for the GUI and the
> second for the fullscreen preview.
>
> Why the fullscreen preview iconifies automatically when I select window
> different from my app window or when another window gets the focus ? When
> this happens I have to manually re-select (ALT-TAB) the preview window in
> order to show it again.
This is just the way the fullscreen windows behave on
Windows. Native applications have the same issues.
> 2) The same dual monitor application does not suffer of the "auto-iconify
> feature" if I don't use the FullScreen API (i.e. setFullScreenWindow(null)),
> but the output doesn't seem to be synched to the Vertical Blanking as
> expected. How can I get a BufferStrategy window that is vsynched to the
> frequency of the screen it uses ?
Unfortunately there's no way to have a vsynced BufferStrategy for a
non-fullscreen window.
> 3) Maybe too much win32-specific and a bit offtopic, but maybe of some
> interest for the group. I've created a MediaPlayerCanvas using JNI,COM and
> the VMR9 Video Mixing Renderer Filter. It works really well with any kind of
> media, but it doesn't display on a FullScreen window. Maybe "Exclusive mode"
> means something.. Anyway I always thought that a hardware window should work
> regardless the kind of page-flipping system.
This sounds interesting. I'm not sure how exactly you implemented
this so I can't say why it doesn't work in a full-screen window.
Are you adding your canvas to a frame and then entering the
full-screen with that frame or something like that?
Thanks,
Dmitri
Java2D Team
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".