4 (in no particular order)
10 * Allow clamping to a GL version or a number of extensions.
12 * Trace multiple threads:
14 * `GetCurrentThreadId()`
18 * Put zlib (de)compression in a separate thread.
22 * Trace window sizes somehow
24 * Allow to distinguish between the calls really done by the program, vs the
25 fakes one necessary to retrace correctly.
27 * Start tracing on demand (e.g., key-press, or by frame no), emitting calls
28 that recreate all current state.
30 * Add option to include call stack frames in the trace
32 * Call gzflush() only when there is a signal/exception, except of doing it on
39 * Use visuals that best match those used in the trace; specially auto
40 detect single/double buffer visuals.
42 * Respect multiple context sharing of the traces.
44 * Support multiple threads
46 * Provide a readline-like interactive mode to gltrace
48 * http://github.com/antirez/linenoise
50 * https://github.com/antirez/linenoise/issues#issue/8
52 * http://hg.youterm.com/radare/file/87579f8c5087/src/dietline.c
56 * Allow to retrace with two libGL.so in parallel, and output differences in
57 rendered frames / draw calls.
67 * Visualize meshes in draw commands.
72 * Side-by-side trace diffing; either as a separate tool on or the GUI.
74 * Side-by-side state diffing.
76 * Ability to extract just a single frame from a trace, and all previous calls
77 that contributed to it:
79 * via a state tracker (i.e., knowledge of how calls affect the state);
81 * or by leveragine retrace, dumping the calls to emit all state at beginning
85 See also FIXME, TODO, and XXX comments on the source code.