classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spring-cleaning of gtk peers.


From: Thomas Fitzsimmons
Subject: Re: Spring-cleaning of gtk peers.
Date: Fri, 27 May 2005 13:27:47 -0400

On Fri, 2005-05-27 at 07:41 +0200, Sven de Marothy wrote:
> 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?
> 

Not me.  Have at it!

Tom






reply via email to

[Prev in Thread] Current Thread [Next in Thread]