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