commit | 0af17ed98c8f8112c0d43ccbf90367f543846143 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Sat Jul 30 02:51:22 2011 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Sat Aug 27 16:06:10 2011 |
tree | 93a6c58aa836286850b3cdebde9f1e3427cfeb7b | |
parent | 1648109c84a5e96fd28a29a276a668050dd6c881 [diff] |
Use a callback object instead of ad-hoc lists for sync and frame events So obvious in retrospect. The object system can do all the work for us and keep track of pending calls as regular objects and we don't need to abuse the resource system to get them cleaned up on client exit. We don't need the custom key management or (broken) lookup, we just sue object IDs. And last but not least, anybody can receive the callback, not just display listeners.