[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: slowness in getting events
- From: Efraim Yawitz <efraim yawitz gmail com>
- To: Dov Grobgeld <dov grobgeld gmail com>, gtk-app-devel-list gnome org
- Subject: Re: slowness in getting events
- Date: Tue, 7 Apr 2009 15:12:53 +0200
On Tue, Apr 7, 2009 at 6:05 AM, Dov Grobgeld <dov grobgeld gmail com> wrote:
> Since hex characters only has an alphabet of 16 characters, you can draw
> these once into separate pixbufs, and then use gdk_pixbuf_copy_area() to
> draw the prerendered characters to the screen. If you have the memory you
> can e.g. create 256 two-nibble precomposed glyphs. I'm not sure how much
> more efficient this is compared to the gtk/pango/freetype caching of text,
> but it is worth a try.
>
Thanks; I tried this (I just used 256 little pixmaps) and it speeded things
up a lot.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]