]> git.cworth.org Git - apitrace/blob - TODO
Add more to do items; reorganize.
[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 * Trace writes done through glMapBuffer and glMapBufferRange correctly
23
24 * Start tracing on demand (e.g., key-press, or by frame no), emitting calls
25   that recreate all current state.
26
27 * Add option to include call stack frames in the trace
28
29
30 Retracing:
31
32 * Use visuals that best match those used in the trace; specially auto
33   detect single/double buffer visuals.
34
35 * Support multiple contexts
36
37 * Support multiple threads
38
39 * Provide a readline-like interactive mode to gltrace
40   * http://github.com/antirez/linenoise
41     * https://github.com/antirez/linenoise/issues#issue/8
42   * http://hg.youterm.com/radare/file/87579f8c5087/src/dietline.c 
43
44 * Plug memory leaks.
45
46 * Allow to retrace with two libGL.so in parallel, and output differences in
47   rendered frames / draw calls.
48
49 * D3D support.
50
51
52 GUI:
53
54 * Trace editing.
55
56 * Timeline view.
57
58 * Interface to create traces of applications on unices via LD_PRELOAD.
59
60 * Visualize meshes in draw commands.
61
62
63 Other:
64
65 * Side-by-side trace diffing; either as a separate tool on or the GUI.
66
67 * Side-by-side state diffing.
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 * MacOSX support.
78
79
80 See also FIXME, TODO, and XXX comments on the source code.