Problem with gdk_gc_set_clip_mask and win32



Michael Mitton writes:
 > I'm using gdk_gc_set_clip_mask in both Win32 and Linux.  Under Linux,
 > everything seems to be working fine, but the same call under Win32 causes
 > CPU hogging and memory leaks.  I call this function at least 2000 times a
 > second (porting ZVT widget to windows), probably more, so CPU is pegged at
 > 100%.

ou are probably invoking functionality that has probably not been
tested very much in the Win32 implementation.

 > I think what is happening is the bitmap gets copied into a new slot of
 > memory, and then never deleted, so the program is continually grabbing more
 > memory.  Again, not so under Linux.

 > I am using the .dlls from http://www.gimp.org/~tml/gimp/win32/ (version 1.3)
 > Any ideas?  Has this been fixed.

If you could send me a *simple* and *complete* test program I could
try to fix the problem.

--tml





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]