]> git.cworth.org Git - apitrace/blob - TODO.markdown
Update TODO.
[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
33 Retracing
34 ---------
35
36 * Use visuals that best match those used in the trace; specially auto
37   detect single/double buffer visuals.
38
39 * Respect multiple context sharing of the traces.
40
41 * Support multiple threads
42
43 * Provide a readline-like interactive mode to gltrace
44
45   * http://github.com/antirez/linenoise
46
47     * https://github.com/antirez/linenoise/issues#issue/8
48
49   * http://hg.youterm.com/radare/file/87579f8c5087/src/dietline.c
50
51 * D3D support.
52
53
54 GUI
55 ---
56
57 * Timeline view.
58
59 * Visualize meshes in draw commands.
60
61
62 Other
63 -----
64
65 * Side-by-side trace diffing; either as a separate tool on or the GUI.
66
67 * Ability to extract just a single frame from a trace, and all previous calls
68   that contributed to it:
69
70   * via a state tracker (i.e., knowledge of how calls affect the state);
71
72   * or by leveragine retrace, dumping the calls to emit all state at beginning
73     of the frame.
74
75
76 See also FIXME, TODO, and XXX comments on the source code.