GtkPixcomm is a widget I ported over from the Xaw client to GTK+. At the
time GTK+'s GtkImage widget had memory leaks and did not include rectangle
drawing routines. Without GtkPixcomm the Freeciv client would increase its
memory resource usage quickly over the course of 30 minutes because of the
memory leaks. You could test this easily by opening a city dialog and
running a game with AIs on auto and took at the memory consumption of the
client with 'top'.

I hope GTK+ upstream fixed those memory leaks. But then again I don't know
which widgets you are using atm.

On Tue, Feb 9, 2016 at 3:08 PM, Marko Lindqvist <
no-reply.invalid-addr...@gna.org> wrote:

> URL:
>   <http://gna.org/patch/?6938>
>
>                  Summary: [Metaticket] Get rid of gtkpixcomm
>                  Project: Freeciv
>             Submitted by: cazfi
>             Submitted on: Tue 09 Feb 2016 05:08:45 PM EET
>                 Category: client-gtk-3.0
>                 Priority: 5 - Normal
>                   Status: None
>                  Privacy: Public
>              Assigned to: None
>         Originator Email:
>              Open/Closed: Open
>          Discussion Lock: Any
>          Planned Release: 2.6.0, 3.0.0
>
>     _______________________________________________________
>
> Details:
>
> This has been in my TODO for some time, but with very slow progress.
> Gtkpixcomm is remnant from gtk+-1.2 time. It seems that gtk+ dropped it,
> but
> we kept internal copy and carried it over to gtk+-2, and then to gtk+-3.
> gtk2-client can probably keep on using it to the end (already coming near)
> but
> gtk3- and especially gtk3x-client should switch to supported solutions.
>
> There's know breakaga at the moment: msys2 mingw64 version of gtk3-client
> does
> not build because of problems in gtkpixcomm. For a quick resolution (to get
> something working on msys2 win64) for that one we probably still need to
> make
> fix to gtkpixcomm, though we should get rid of gtkpixcomm soon anyway.
>
>
>
>
>     _______________________________________________________
>
> Reply to this item at:
>
>   <http://gna.org/patch/?6938>
>
> _______________________________________________
>   Message sent via/by Gna!
>   http://gna.org/
>
>
> _______________________________________________
> Freeciv-dev mailing list
> Freeciv-dev@gna.org
> https://mail.gna.org/listinfo/freeciv-dev
>



-- 
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to