VolatileImage : Java Glossary

home page V words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all) ©1996-2010 2008-01-06 Roedy Green, Canadian Mind Products
VolatileImage
A type of Image object stored in the off-screen part of the hardware REGEN buffer that can be blasted onto the visible region extremely quickly. The advantage is speed since the data have already passed the barrier between RAM and REGEN RAM, and because the video controller card is specialised for moving bits around.

VolalileImage is an advanced technique similar to double buffering available in JDK 1.1.4+. You build up the Image piece by piece off screen but inside the video card’s private memory already in the video card’s internal proprietary format. From there is can be blasted at blinding speed to the screen, since the data are already inside the video card and since it is already in the hardware format. I used this technique to implement smooth scrolling for the giant displays at the Las Vegas Hilton Hotel. It scrolls just by copying bits around inside the video card. Ironically, the blinding speed gives the illusion of majestic smoothness. Coding is tricky, because at any time the video card might steal back the RAM you had inside the video card. It is a bit of a black art getting these VolatileImage apps to work without glitches. I am available an a contract basis.

Learning More

Sun’s Javadoc on VolatileImage class : available:

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/volatileimage.html J:\mindprod\jgloss\volatileimage.html
CMP logofeedback Please email your feedback for publication, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.191.114]
You are visitor number 1.