]> git.cworth.org Git - apitrace/blob - TODO.markdown
Merge branch 'master' into d3d10
[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 * Plug memory leaks.
52
53 * D3D support.
54
55
56 GUI
57 ---
58
59 * Timeline view.
60
61 * Visualize meshes in draw commands.
62
63
64 Other
65 -----
66
67 * Side-by-side trace diffing; either as a separate tool on or the GUI.
68
69 * Ability to extract just a single frame from a trace, and all previous calls
70   that contributed to it:
71
72   * via a state tracker (i.e., knowledge of how calls affect the state);
73
74   * or by leveragine retrace, dumping the calls to emit all state at beginning
75     of the frame.
76
77
78 See also FIXME, TODO, and XXX comments on the source code.