summaryrefslogtreecommitdiff
path: root/src/gallium/tools/trace
AgeCommit message (Collapse)AuthorFilesLines
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 <sroland@vmware.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
2013-10-03gallium/tools: update dump_state.py 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 tracediff.sh 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 <brianp@vmware.com>
2013-06-21tools/trace: Do a better job at comparing multi line strings.José Fonseca1-1/+34
For TGSI diffing. Reviewed-by: Brian Paul <brianp@vmware.com>
2013-06-21tools/trace: Tool to compare json state dumps.José Fonseca1-0/+324
Copied verbatim from apitrace's scripts/jsondiff.py Reviewed-by: Brian Paul <brianp@vmware.com>
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 <brianp@vmware.com>
2013-06-21tools/trace: Defer blob hex-decoding.José Fonseca2-9/+27
To speed up parsing. Reviewed-by: Brian Paul <brianp@vmware.com>
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