[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Resources
From: Michael Bogaerts ####@####.#### Date: 17 Feb 2006 08:26:07 +0000 Message-Id: <1140164601.25938.5.camel@ENGLINUX.tokheim.com> Hi, is there a way to get the resources from nanox: e.g: all the images, all the windows, etc that are registered with the nanox? i'm Experiencing some leaks in the nanox and i guess this is due to the resources (windows, images) i use that i do not cleanup. but i'm not able to find/list the active resources in the nanox. i'm running nanox 0.9 at the moment Michael | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Resources
From: "Greg Haerr" ####@####.#### Date: 17 Feb 2006 19:21:04 +0000 Message-Id: <1c6301c633f6$8b4bf460$0300a8c0@RDP> : is there a way to get the resources from nanox: : : e.g: all the images, all the windows, etc that are registered with the : nanox? : : i'm Experiencing some leaks in the nanox and i guess this is due to the : resources (windows, images) i use that i do not cleanup. but i'm not : able to find/list the active resources in the nanox. Check out nanox/srvnet.c::GsDestroyClientResources(). It prints out the entire resource list on exit. there's also GsPrintResources(), which you could hack the server to call after each API call. You can also use GrQueryTree from the root window to enumerate all windows registered with nano-X. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |