[Gllug] Re: What is the Gnome & KDE difference??
Daniel P. Berrange
dan at berrange.com
Thu Mar 30 00:20:23 UTC 2006
On Thu, Mar 30, 2006 at 12:27:32AM +0100, Nix wrote:
> On Wed, 29 Mar 2006, Daniel P. Berrange moaned:
> > I did look at xrestop initially, but it unfortunately does not provide
> > a way to capture the actual pixmaps associted with a client. So I wrote
> > a nasty LD_PRELOAD hack which overrode the XCreatePixmap & XFreePixmaps
> > method, dumping the pixmap to a TIFF file. A little post-processing and
> > I could visualize all pixmaps stored by mozilla at any time during the
> > course of a controlled test-run.
>
> Sounds exceeding nifty. (Of course the *right* way to do this is to add
> an XResQueryClientPixmaps() to the XRes extension, but that's a good bit
> more work...)
After blogging about this work, someone went ahead & wrote this exact
function for me :-)
http://www.redhat.com/archives/olpc-software/2006-March/msg00032.html
Dan.
--
|=- GPG key: http://www.berrange.com/~dan/gpgkey.txt -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- berrange at redhat.com - Daniel Berrange - dan at berrange.com -=|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20060330/1028862c/attachment.pgp>
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list