Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: October 2007 (MeeGo - 06/11/10)

Section: 7 (Divers)


bugle-trace - record a log of OpenGL calls made


 filterset trace
 filterset log
     filename "trace.txt"


This filter-set provides a log of the OpenGL calls made. For each call, the function name, the parameters and the return value (if any) are recorded. Where appropriate, symbolic names are shown for GLenum parameters, and pointers are followed to show the correct number of elements.


There are no options to control this filter-set. All logging is done through bugle's logging system (see bugle-log(7)), and options such as filename and log format can be modified there.


Here is a sample log output

 [INFO] glLoadMatrixd(0xbfffe610 -> { { 0, -0.29661, 1.22295, 0 }, { 1.22295, 0, 0, 0 }, { 0, 1.18644, 0.305739, 0 }, { 0.037888, 1.61781, -1.52576, 1 } })
 [INFO] glActiveTextureARB(GL_TEXTURE0)
 [INFO] glTexEnvfv(GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, 0xbfffe5d0 -> { 0.778524, 0.778524, 0.569631, 0 })


Some enumerants share values, so you may see a different symbolic name in the log than in your source code. It is believed that this should be limited to cases where extensions share a value for semanticly equivalent symbols; if you find a case where this is not true, please inform the author.

Because the filter-set examines arguments and follows pointers, it is possible to crash it by passing invalid values, particularly invalid pointers.


In previous versions, the trace filter-set also reported OpenGL errors to the log. This is now handled by the showerror filter-set (see bugle-showerror(7)).


bugle is written and maintained by Bruce Merry.


bugle(3), bugle-log(7), bugle-showerror(7)

Nul ne peut être puni qu'en vertu d'une loi établie et promulguée
antérieurement au délit, et légalement appliquée.
-+- Déclaration des droits de l'homme et du citoyen
(26 août 1789) - Article VIII -+-