Hi Sean,

It's definitely not the cleanest code for understanding! The magic happens 
in lens.java::draw(backbuffer, frontbuffer). What's happening is the lens 
calls:
front.drawImage(back.getCanvas(), 0, 0);
which copies (blits) all the pixels from the back to the front. The 
backbuffer is never added to the root panel because it's only used as a 
temporary store of pixels for this operation.

By the way, if you're interested in high performance javascript games, you 
may be interested in the ForPlay <http://code.google.com/p/forplay/>project. 
It's built using GWT and is targeted at multiplatform (including 
Html5) games.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/wfGgXY-ZzfgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to