[Mesa-dev] [PATCH] glapi: Implement optional dispatch logging

Eric Anholt eric at anholt.net
Thu Sep 9 15:16:41 PDT 2010


On Thu,  9 Sep 2010 13:01:59 -0400, Kristian Høgsberg <krh at bitplanet.net> wrote:
> There's a useful feature buried in glapi to log all API calls to stderr.
> Unfortunately it requires editing the code and then it's enabled
> unconditionally for that build.  This patch builds in API logging for
> debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch.

In the absence of better userland tools, this seems useful to have on
hand.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100909/aa982937/attachment.pgp>


More information about the mesa-dev mailing list