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

Jakob Bornecrantz wallbraker at gmail.com
Thu Sep 9 15:29:33 PDT 2010


On Fri, Sep 10, 2010 at 12:16 AM, Eric Anholt <eric at anholt.net> wrote:
> 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.

Was just tipped by Corbin about BuGLe[1][2] which works for me. Which
allows you to do this and much more[3]. Open Source to boot.

Cheers Jakob.

[1] http://www.opengl.org/sdk/tools/BuGLe/
[2] http://sourceforge.net/projects/bugle/
[3] http://www.opengl.org/sdk/tools/BuGLe/screenshots.php


More information about the mesa-dev mailing list