[EMAIL PROTECTED] wrote:
Note that vsync is not really guaranteed by
BufferStrategy, no
   matter if it's FSEM or windowed mode.

That's very sad to know. Is there an alternative to using BufferStrategy to 
achieve vsync in Java?

  Not at this point. We'll be adding API to do that in Java 7
  hopefully.

  In 6u10 we added some internal API to request a vsync-ed
  strategy. This API is in sun.* package so it may change or
  go away in the future so I'm not sure of how much use
  it is.

  Note that on linux it would only work for the opengl
  pipeline.

Hm, I don't believe we supported fullscreen mode
 on Linux until
6, so I'm not sure how you could get it to work
 there.

I think you are probably right. GraphicsDevice.isFullScreenSupported() returns false. But 
does so both with 1.5 and 1.6!? So When I get a nice vsync in FSEM with 1.5, it is 
probably the "fake" FSEM as described here: 
http://java.sun.com/docs/books/tutorial/extra/fullscreen/exclusivemode.html

Have you tried windowed mode on the same systems
 with 6.0 or 5.0?
  Do you get vsync then?

Same outcome. I get vsync with 1.5 but not 1.6.

  I think in 5 we used DBE (double buffer extension) for
  creating implementing buffer strategy, may be something changed
  in 6 - I can't think of what though.

  Thanks,
    Dmitri


[Message sent by forum member 'boyaci' (boyaci)]

http://forums.java.net/jive/thread.jspa?messageID=285385

===========================================================================
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".

===========================================================================
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".

Reply via email to