nanogui: Resources


Previous by date: 17 Feb 2006 19:21:04 +0000 Re: jpeg show, Greg Haerr
Next by date: 17 Feb 2006 19:21:04 +0000 Re: MicroWindows & blackfin, Aubrey
Previous in thread: 17 Feb 2006 19:21:04 +0000 Resources, Michael Bogaerts
Next in thread:

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





Previous by date: 17 Feb 2006 19:21:04 +0000 Re: jpeg show, Greg Haerr
Next by date: 17 Feb 2006 19:21:04 +0000 Re: MicroWindows & blackfin, Aubrey
Previous in thread: 17 Feb 2006 19:21:04 +0000 Resources, Michael Bogaerts
Next in thread:


Powered by ezmlm-browse 0.20.