No I haven’t got precise rendering time requirements just that the display be 
flicker-free.  The only thing is that my application will receive inputs from 
multiple external sources at rates of up to 16Hz.  These inputs obviously 
change the graphics that are displayed and have to be re-rendered.  My screen 
has a resolution of 1600x1200 and I have two of these. 

I’ve been doing some rough timings based on my waterfall test program posted 
earlier.  I have 3 versions:  
(a)     renders directly to the screen in the paintComponent method (if I 
understood correctly, then this should be accelerated behind the scenes by the 
Swing framework).
(b)     Renders to offsceen buffer (compatible buffered image) and 
paintComponent copies this to the screen
(c)     Renders to offsceen buffer (volatile image) and paintComponent copies 
this to the screen (using the template code found in VolatileImage Java 6 
Javadoc)
The results to render the graphics (slowest to fastest): a (0.013ms),  c 
(0.009) and finally  b(0.002).   The figures are just to should the order  
magnitude.
And the results to get the image to the screen (paintComponent): b (0.002ms) 
and c (0.00007).  As you would expect.
[Message sent by forum member 'ser207' (ser207)]

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

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