Slide 18
Slide 18 text
Shmif
• Segment Type dictates assumed use (e.g. HMD, interleave-odd/even,
titlebar, icon, debug, accessibility, clipboard, drag’n’drop, popup, ...)
• Downsides:
• Complex rules for switching between shared-memory and handle-
passing video buffers (shm always available, buffer passing is
privileged, intermittent and volatile)
• Event-queue saturation (“Application Not Responding”)
management is terrible, but fixable
• Tightly coupled with engine internals, no ‘protocol’ - built / updated
in lock-step, shared struct ABI without serialization format.
• Not all events are processed in order, some (e.g. analog axis
motion, multiple displayhints / fonthints may merge)