]> git.cworth.org Git - fips/blob - TODO
util-x11: Rework init_window interface to accept XVisualInfo
[fips] / TODO
1 Known bugs
2 ==========
3 undefined symbol: glGenQueries
4
5         The problem here is code in libfips directly calling OpenGL
6         functions like glGenQueries but not linking against any OpenGL
7         library.
8
9         We don't want to link against any OpenGL library so that the
10         application itself can choose which OpenGL to use (and how to
11         link/load it).
12
13         The trick is to instead make these calls indirectly by first
14         calling glXGetProcAddressARB/eglGetProcAddress. There's some
15         proof-of-concept code for this in the stash-egl-lookup-fixups
16         branch, (which needs some cleaning up).
17
18 Feature requests (small-scale, near-term changes)
19 =================================================
20
21 Report CPU load per frame.
22
23 Report GPU load per frame.
24
25 Report CPU frequency per frame.
26
27 Report GPU frequency per frame.
28
29 Report shader compilation time.
30
31 Report elapsed time per frame.
32
33 Add options to control which metrics should be collected.
34
35 Add Eric's tiny hash table for collecting per-shader statistics
36
37         people.freedesktop.org:~anholt/hash_table
38
39 Sort list of shaders in output
40
41 Use better units for shader activity (eg. absolute time, relative percentage)
42
43 Capture GPU performance counters.
44
45 Allow dumping of shader source for investigation
46
47 Infrastructure (larger-scale things, more future-looking items)
48 ===============================================================
49
50 Use ncurses for a better top-like display.
51
52 Report timestamps and CPU time durations for operations causing
53 CPU/GPU syncs.
54
55 Emit per-frame data in a format for external timeline viewer.
56
57 Allow enabling/disabling of tracing at run-time
58
59         Such as via signals, (optionally specified by env. variable)
60
61 Investigation for other potential features
62 ==========================================
63
64 Audit Eric's recipe for performance tuning to see what else fips
65 should automatically collect:
66
67         http://dri.freedesktop.org/wiki/IntelPerformanceTuning/
68
69 Audit exisiting visualization tools before writing one from scratch
70
71         Eero suggested two possibilities:
72
73                 pytimechart
74                 -----------
75                 http://pythonhosted.org/pytimechart/index.html
76
77                 e-graph
78                 -------
79                 https://gitorious.org/e-graph
80
81         Others?
82
83 Explore using perf/LTTng probing instead of LD_PRELOAD wrapper
84
85         This has the advantage of allowing full-system,
86         multi-process data collection.