VolatileImage : Java Glossary

VolatileImage
A type of Image object stored in the off-screen part of the hardware REGEN (Regenerate) 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 (Random Access Memory) 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 (Java Development Kit) 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

Oracle’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
logo
Please email your , letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email. If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, please quote it and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. Threatening to kill me or spouting obscenities has yet to persuade me to change my mind.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.213]
You are visitor number 1.