diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-11-19 17:17:06 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-11-19 17:17:06 +0900 |
commit | 56ce90c8bee057cf69ba653adf57aa401d51c240 (patch) | |
tree | 4b5f4853965732a7e0161ce1df29be862fbf32d8 /src/gallium/state_trackers/python/retrace/interpreter.py | |
parent | 9efa6cafea8176eb867bf820ea82a46ad45bfc15 (diff) |
python/retrace: Highlight the trace dump to help to visualize.
Diffstat (limited to 'src/gallium/state_trackers/python/retrace/interpreter.py')
-rwxr-xr-x | src/gallium/state_trackers/python/retrace/interpreter.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/python/retrace/interpreter.py b/src/gallium/state_trackers/python/retrace/interpreter.py index a23f153d2f..61b3ef2abc 100755 --- a/src/gallium/state_trackers/python/retrace/interpreter.py +++ b/src/gallium/state_trackers/python/retrace/interpreter.py @@ -440,10 +440,10 @@ class Context(Object): show_image(self.cbufs[0]) -class Interpreter(parser.TraceParser): +class Interpreter(parser.TraceDumper): def __init__(self, stream): - parser.TraceParser.__init__(self, stream) + parser.TraceDumper.__init__(self, stream) self.objects = {} self.result = None self.globl = Global(self, None) @@ -463,7 +463,7 @@ class Interpreter(parser.TraceParser): self.interpret_call(call) def handle_call(self, call): - sys.stderr.write("%s\n" % call) + parser.TraceDumper.handle_call(self, call) args = [self.interpret_arg(arg) for name, arg in call.args] |