I don't have enough information on what exactly you're doing to advise you on 
the implementation, but I thought that if you have something that generates a 
new array of pixels on every frame (may be from a different thread or 
something), may be you could have two arrays - one you currently render from, 
and another which is updated, then you'd swap them around after every update. 
Just a thought.

But ideally, you'd just have one array (and a DataBuffer) which you'd load with 
new data, no need to create new one ever time (unless the size of the array 
changes).

Dmitri
[Message sent by forum member 'trembovetski' (trembovetski)]

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

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