path: root/src/gallium/tools/trace
AgeCommit message (Collapse)AuthorFilesLines
2014-07-01gallium: add an index argument to create_queryIlia Mirkin1-1/+1
Signed-off-by: Ilia Mirkin <> Reviewed-by: Marek Olšák <> Reviewed-by: Roland Scheidegger <>
2014-03-07gallium: allow setting of the internal stream output offsetZack Rusin1-2/+2
D3D10 allows setting of the internal offset of a buffer, which is in general only incremented via actual stream output writes. By allowing setting of the internal offset draw_auto is capable of rendering from buffers which have not been actually streamed out to. Our interface didn't allow. This change functionally shouldn't make any difference to OpenGL where instead of an append_bitmask you just get a real array where -1 means append (like in D3D) and 0 means do not append. Signed-off-by: Zack Rusin <> Reviewed-by: Roland Scheidegger <> Reviewed-by: Jose Fonseca <> Reviewed-by: Marek Olšák <>
2014-02-05tools/trace: Handle index buffer overflow gracefully.José Fonseca1-1/+4
2014-01-17s/Tungsten Graphics/VMware/José Fonseca4-8/+8
Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the old copyright name is creating unnecessary confusion, hence this change. This was the sed script I used: $ cat tg2vmw.sed # Run as: # # git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed # # Rename copyrights s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./ s/TUNGSTEN GRAPHICS/VMWARE/g # Rename emails s/ s/ s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\? s/keithw\? s/ s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/ # Remove dead links s@Tungsten Graphics ( Graphics@g # C string src/gallium/state_trackers/vega/api_misc.c s/"Tungsten Graphics, Inc"/"VMware, Inc"/ Reviewed-by: Brian Paul <>
2013-12-05tools/trace: More tweaks to state dumping.José Fonseca1-3/+12
- Ignore buffer format (it is totally arbitrary) - Initialize state. - Handle begin/end_query statements.
2013-11-15tools/trace: Several bugfixes/improvements to dump_state.pyJosé Fonseca1-9/+49
- Don't crash with user memory pointers. - Support old bind_*_sampler_* methods. Useful when comparing dumps from old branches. - Misc.
2013-10-23gallium: new, unified pipe_context::set_sampler_views() functionBrian Paul1-11/+3
The new function replaces four old functions: set_fragment/vertex/ geometry/compute_sampler_views(). Note: at this time, it's expected that the 'start' parameter will always be zero. Reviewed-by: Roland Scheidegger <> Reviewed-by: Marek Olšák <> Tested-by: Emil Velikov <>
2013-10-03gallium/tools: update to use bind_sampler_states()Brian Paul1-8/+3
2013-09-20tools/trace: Simple script to compare two traces.José Fonseca1-0/+66
Based on the earlier apitrace script.
2013-09-12trace: Several enhancements to dump_state.pyJosé Fonseca1-18/+112
- Handle more calls - Handle more state - Try to normalize the output a bit, to eliminate spurious differences
2013-07-01tools/trace: Return dummy fence object to silence warnings.José Fonseca1-1/+2
2013-07-01tools/trace: Don't crash if a trace has no timing information.José Fonseca2-3/+4
2013-06-24tools/trace: Fix syntax.José Fonseca1-1/+1
Cleaned/commented up the code, but forgot to actually test before commiting...
2013-06-22tools/trace: Several tweaks/fixes to dump_stateJosé Fonseca1-9/+29
2013-06-21tools/trace: Quick instructions/notes.José Fonseca2-0/+48
Reviewed-by: Brian Paul <>
2013-06-21tools/trace: Do a better job at comparing multi line strings.José Fonseca1-1/+34
For TGSI diffing. Reviewed-by: Brian Paul <>
2013-06-21tools/trace: Tool to compare json state dumps.José Fonseca1-0/+324
Copied verbatim from apitrace's scripts/ Reviewed-by: Brian Paul <>
2013-06-21tools/trace: Tool to dump gallium state at any draw call.José Fonseca2-2/+635
Based from the code from the good old python state tracker. Extremely handy to diagnose regressions in state trackers. Reviewed-by: Brian Paul <>
2013-06-21tools/trace: Defer blob hex-decoding.José Fonseca2-9/+27
To speed up parsing. Reviewed-by: Brian Paul <>
2013-02-01trace: measure time for each gallium callBrian Paul2-3/+15
To get a rough idea of how much time is spent in each gallium driver function. The time is measured in microseconds.
2012-10-26tools/trace: More helpful message when no args are provided.José Fonseca1-13/+13
2011-09-29tools/trace: Dump NULL literally.José Fonseca1-0/+4
Instead of None.
2011-04-06st/python: Remove bindings, and all its dependencies.José Fonseca4-0/+813
Because: - bindings are not fully automatic, and they are broken most of the time - unit tests/samples can be written in C on top of graw - tracing/retracing is more useful at API levels with stable ABIs such as GL, producing traces that cover more layers of the driver stack and and can be used for regression testing