blob: c2aa1997f9f46c8f06bc7f90615cf18cad54c74a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
Things To Do
============
(in no particular order)
Tracing
-------
* Allow clamping to a GL version or a number of extensions.
* Trace multiple threads:
* `GetCurrentThreadId()`
* `pthread_self()`
* Put zlib (de)compression in a separate thread.
* Trace TSCs
* Trace window sizes somehow
* Allow to distinguish between the calls really done by the program, vs the
fakes one necessary to retrace correctly.
* Start tracing on demand (e.g., key-press, or by frame no), emitting calls
that recreate all current state.
* Add option to include call stack frames in the trace.
* Trace the internal GL calls done by GLU on Mac OS X & Windows.
Retracing
---------
* Use visuals that best match those used in the trace; specially auto
detect single/double buffer visuals.
* Respect multiple context sharing of the traces.
* Support multiple threads
* Provide a readline-like interactive mode to gltrace
* http://github.com/antirez/linenoise
* https://github.com/antirez/linenoise/issues#issue/8
* http://hg.youterm.com/radare/file/87579f8c5087/src/dietline.c
* D3D support.
GUI
---
* Timeline view.
* Visualize meshes in draw commands.
Other
-----
* Side-by-side trace diffing; either as a separate tool on or the GUI.
* Ability to extract just a single frame from a trace, and all previous calls
that contributed to it:
* via a state tracker (i.e., knowledge of how calls affect the state);
* or by leveragine retrace, dumping the calls to emit all state at beginning
of the frame.
See also FIXME, TODO, and XXX comments on the source code.
|