Hi, Well, I got started on fixing transparency issues with AWT, and now it seems I'm ending up rewriting most of the image-handling code here.
Most of how this stuff is implemented now makes no sense to me at all. I propose (and am working on) the following main points: 1) GtkImage is a mess, and is terribly inefficient. Do what was intended with the AWT 1.1 API and wrap something which can be blitted quickly, e.g. a 32-bit int vector in gtk-compatible AABBGGRR format. 2) Get rid of GtkImagePainter completely. I have no idea why GtkImage can't have package-private methods for drawing itself. (And do so correctly.) 3) Get rid of GtkOffScreenImage. It doesn't seem to serve any real purpose. End result: Less code, simpler code and much, much faster drawing. Is there anyone in defense of the existing way images are handled? /Sven _______________________________________________ Classpath mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath

