Bug 870 - Tracing GL pipelines do not increase the indent when hitting glBegin
Summary: Tracing GL pipelines do not increase the indent when hitting glBegin
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- minor
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-10-23 22:31 CEST by Harvey Harrison
Modified: 2013-10-25 01:48 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
b77bd2e9de054124ef81413aa338c635dbdc5a54
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harvey Harrison 2013-10-23 22:31:35 CEST
The indent is reduced when glEnd/glEndList is hit, but never incremented.

https://github.com/AusencoSimulation/jogl.git

commit: b77bd2e9de054124ef81413aa338c635dbdc5a54 has a proposed fix to the code
generator.

 jogl: indent trace statements in the Trace pipelines when we hit glBegin
    
    The indent was being reduced on glEnd/glEndList but was never being incremented.
    The intent appeared to be to indent all statements between glBEgin/glEnd pairs to
    show the nested context of those calls.  Add the increment after printing the glBegin
    trace statement.