[Freeciv-Dev] Re: Memory leak (PR#605)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, 18 Nov 2000, Andreas Kemnade wrote:
> Big pixmaps *are* supported. But you cannot create 1200 small pixmaps.
> AFAIK there is only 64 KB of memory in windows for maintaining the
> bitmaps and similar things. (keeping information like width, height,
> bits per pixel, etc).
> The gdk-win32 people know that. The only workaround is to avoid using
> windows bitmaps whenever possible. You would have to invent your own
> pixmap/bitmap format. Then you have to convert the bitmaps/pixmaps to
> the "native" windows bitmaps again if you want to draw anything. That
> would horribly slow down gdk.
Mmm. It's weird. It kinda sounds like a Win16 limitation. Maybe that's
fixed in the Win32 implementation of Windows NT/2000?
I wonder if the gtk+ folks wouldn't be better off using something like
DirectDraw instead of GDI calls on gdk. I think the XFree86 port to
Windows is using that.
http://sources.redhat.com/cygwin/xfree/
Here's a screenshot:
http://sources.redhat.com/cygwin/xfree/screen.jpg
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
|
|