2 (in no particular order)
7 * Allow clamping to a GL version or a number of extensions.
9 * Trace multiple threads
10 * GetCurrentThreadId()
13 * Put zlib (de)compression in a separate thread.
17 * Trace window sizes somehow
19 * Allow to distinguish between the calls really done by the program, vs the
20 fakes one necessary to retrace correctly.
22 * Trace writes done through glMapBuffer and glMapBufferRange correctly
24 * Start tracing on demand (e.g., key-press, or by frame no), emitting calls
25 that recreate all current state.
27 * Add option to include call stack frames in the trace
29 * Call gzflush() only when there is a signal/exception, except of doing it on
35 * Use visuals that best match those used in the trace; specially auto
36 detect single/double buffer visuals.
38 * Support multiple contexts
40 * Support multiple threads
42 * Provide a readline-like interactive mode to gltrace
43 * http://github.com/antirez/linenoise
44 * https://github.com/antirez/linenoise/issues#issue/8
45 * http://hg.youterm.com/radare/file/87579f8c5087/src/dietline.c
49 * Allow to retrace with two libGL.so in parallel, and output differences in
50 rendered frames / draw calls.
61 * Visualize meshes in draw commands.
66 * Side-by-side trace diffing; either as a separate tool on or the GUI.
68 * Side-by-side state diffing.
70 * Ability to extract just a single frame from a trace, and all previous calls
71 that contributed to it:
73 * via a state tracker (i.e., knowledge of how calls affect the state);
75 * or by leveragine retrace, dumping the calls to emit all state at beginning
81 See also FIXME, TODO, and XXX comments on the source code.