Hi Sven,

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

Seems like a very good idea to me. The current AWT image is indeed a
mess. Cleaning things up is greatly appreciated. Any chance that this
would also include fixing
https://savannah.gnu.org/bugs/?func=detailitem&item_id=13182
??

/Roman




_______________________________________________
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to