]> git.cworth.org Git - apitrace/blob - TODO.markdown
Add a to-do note about GLU.
[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 * Trace the internal GL calls done by GLU on Mac OS X & Windows.
33
34
35 Retracing
36 ---------
37
38 * Use visuals that best match those used in the trace; specially auto
39   detect single/double buffer visuals.
40
41 * Respect multiple context sharing of the traces.
42
43 * Support multiple threads
44
45 * Provide a readline-like interactive mode to gltrace
46
47   * http://github.com/antirez/linenoise
48
49     * https://github.com/antirez/linenoise/issues#issue/8
50
51   * http://hg.youterm.com/radare/file/87579f8c5087/src/dietline.c
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.