[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Spring-cleaning of gtk peers.
From: |
Roman Kennke |
Subject: |
Re: Spring-cleaning of gtk peers. |
Date: |
Fri, 27 May 2005 16:45:00 +0200 |
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