[EMAIL PROTECTED] wrote:
This way if flipping bs (ugh, that didn't come out
 right) is available
you'll get, otherwise you'll get something we think
 is the best
  under these conditions.

Okay, so "UNDEFINED" is actually the "I don't care" option when requesting?

  No, it says that you don't care about the contents of the
  buffer after the flipping, which corresponds to the "flip" buffer
  change mode in both Direct3D and OpenGL.
  I know, it's not super-intuitive.

Also, I don't find that constructor taking "true, true" - only one taking two 
ImageCapabilities

  Well, you get the idea, I hope. 'true' -> 'new ImageCap(true)'.

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

You didn't answer the above.. Care to? (It would go into the pool of "nice to know - 
maybe it will be immensely useful at some point")

  I don't see a situation in which this knowledge would
  be of immense value, but yeah, I believe for flip
  strategies IC will be 'accelerated' and 'true volatile'.

createBufferStrategy(2) with no parameters will
 generally be the best.
The only thing is that currently there's no simple
 way to request
a 'tear-free' (v-sync-ed) buffer strategy in
 Windowed mode.
   We'll add public API for that in 7 hopefully.

Please do!


> And make things explicit. Make the BufferStrategy in Swing explicit. Basically, make Swing be an actual disjoint layer above AWT/Java2D, utilizing ONLY the public, userfacing APIs of AWT/Java2D to work (I don't really know how far from that it is at this point - but I still feel there are some magic involved..)

  I doubt this will happen. Whether or not swing uses buffer strategy
  underneath is an implementation detail you shouldn't care about.
  There's tons of technical reasons why this can be done anyway.

  Thanks,
    Dmitri

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