One requests a specific BufferStrategy like this:

[Window|Canvas].createBufferStrategy(int numBuffers,
                                 BufferCapabilities caps)

How do I make a caps object that state that ANY flip-strategy is good, but just 
fail if there is no flip possible?

Do I have to test with all of BACKGROUND, PRIOR, COPIED and UNDEFINED? Or is 
UNDEFINED the "any" or "fastest" when requesting? See, if a given setup can 
handle all of them, but one is faster than the other, I'd like that..

Btw, will both "Accelerated" and "TrueVolatile" be true for all flip-style 
BufferStrategies' ImageCapabilities?

Actually - I'd just like a method that gives me "the fastest, multibuffering, 
non-tearing graphics possible", whether or not that is volatile or accelerated 
or whatever. I guess one will have to make a testing-stage in the application, 
timing every single combination and picking the fastest.
[Message sent by forum member 'stolsvik' (stolsvik)]

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

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