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