texturetop is a small program for displaying information about the texture resource usage of a direct-rendering libGL application. Building ======== Type make. The Makefile may need some adjustment if you aren't using GCC. Running ======= textprof requires a patch to the Mesa libGL. This can be found at: http://fishsoup.net/software/texturetop/ Hopefully it will be integrated into the normal version of Mesa in the future. Building Mesa and the DRI isn't described here. When texprof is run, it displays the port on which it is running. Then run a direct-rendering client setting the LIBGL_PROFILE_SERVER environment variable. LIBGL_PROFILE_SERVER=:12345 ./my-app You can also specify a fixed port number when running texturetop instead of letting it pick one automatically: texturetop 12345 texturetop always listens only on the loopback interface. Since there are no access controls, it probably shouldn't be used on a machine with untrusted users. Implementation notes ==================== The files texprof-client.[ch] are designed as a "library" for talking the profiling protocol. It should be very easy to take them and reuse them in a more sophisticated graphical frontend to the protocol. Legal ===== Copyright 2004 Red Hat, Inc. See individual source files for full license details === Owen Taylor 5 November 2004