Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11507) use pixbufs for gtk2 sprites
Home

[Freeciv-Dev] Re: (PR#11507) use pixbufs for gtk2 sprites

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11507) use pixbufs for gtk2 sprites
From: "Andreas Røsdal" <andrearo@xxxxxxxxxxxx>
Date: Tue, 14 Dec 2004 02:00:30 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11507 >

On Mon, 13 Dec 2004, Jason Short wrote:
> This demo patch uses pixbufs (rather than pixmaps + sprites) for the
> sprites in the gtk2 client.
>
> This should allow use of transparency in tilesets, which is very good.
> It also makes for 40-50% slower drawing, which is very bad.

So this means Pixbufs are too slow to be usable? Can you think of any way
to improve the drawing speed?

What would the speed impact be of rendering transparent fog do you think?
- to compare with the speed of fogging by darkening pixmaps.

Also, are there other uses for transparency/alpha blending besides fog of
war? If this can be done easier by darkening the sprite?

Andreas Røsdal





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